Skip to content

MIN

Returns the smallest number in the values you give it. Text and blanks are ignored, and with no numbers it returns 0.

Syntax

=MIN(, [number2], ...)

Statistical

All versions of Excel, including Excel for Microsoft 365 and Excel for the web.

Try it

Edit the formula in B8 or change the inputs. The sheet recalculates as you type.

B8
A
B
C
1
Supplier
Quote
2
Apex
1,240
3
Brill
1,185
4
Cobb
1,310
5
Dale
1,195
6
Eton
1,260
7
8
Lowest quote
1,185
9

B8 =MIN(B2:B6) returns 1,185

How MIN works

MIN returns the smallest number it finds. Use it for the lowest quote, the earliest date, the weakest result, or as a "no more than" cap inside a calculation.

What MIN looks at

In a range or cell reference MIN considers only numbers, and dates count as numbers. It skips text (including numbers stored as text), blank cells, and TRUE and FALSE inside a range. Numbers and logical values typed directly into the formula are used. An error value anywhere in the arguments makes MIN return that error.

If there are no numbers at all, MIN returns 0. That is easy to mistake for a real result, so check with COUNT when the range might hold only text.

Three common patterns

The lowest value. =MIN(B2:B6) returns the cheapest quote. Add more arguments to search several ranges.

The earliest date. Dates are numbers, so =MIN(B2:B40) returns the oldest date. Format the cell as a date to read it.

A cap. =MIN(B2*C2, D2) calculates a commission, then limits it to the cap in D2. The result can never be higher than the cap. Its partner MAX sets a floor in the same way, and the two combine to clamp a value between a lower and an upper limit: =MAX(low, MIN(high, value)).

Zeros can hide the real minimum

A zero is a number, so a column that uses 0 for "no data" always has a minimum of 0. To find the lowest value above zero, use MINIFS: =MINIFS(C2:C9, C2:C9, ">0"). See MINIFS. MINIFS needs Excel 2019 or Microsoft 365.

Finding the item behind the minimum

MIN returns the value, not its label. To get the label, match the minimum back to the list: =INDEX(A2:A6, MATCH(MIN(B2:B6), B2:B6, 0)). If two rows tie, the first one is returned.

Related functions

MAX returns the largest value. SMALL returns the nth smallest, so =SMALL(B2:B6,1) equals =MIN(B2:B6) and =SMALL(B2:B6,2) gives the second lowest. MINIFS adds conditions. For the smallest value in a filtered list, use SUBTOTAL(105,...) or AGGREGATE.

Arguments

number1
The first number, cell or range to search, such as B2:B6.
number2, ...optional
More numbers, cells or ranges, up to 255 arguments in all. A typed number acts as a cap, as in MIN(B2,1000).

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Lowest quote

B8 =MIN(B2:B6)

Result: 1,185

Brill's quote of 1,185 is the smallest of the five.

B8
A
B
C
1
Supplier
Quote
2
Apex
1,240
3
Brill
1,185
4
Cobb
1,310
5
Dale
1,195
6
Eton
1,260
7
8
Lowest quote
1,185
9

B8 =MIN(B2:B6) returns 1,185

Example 2

A cap: commission limited to a maximum

B5 =MIN(B1*B2,B3)

Result: 1,000

Sales times the rate is 1,110, which is above the 1,000 cap, so MIN returns the cap.

B5
A
B
C
1
Sales
18,500
2
Rate
6%
3
Cap
1,000
4
5
Commission
1,000
6
7

B5 =MIN(B1*B2,B3) returns 1,000

Example 3

The earliest date

B6 =MIN(B2:B4)

Result: 01-Jan-2025

45658 is 1 January 2025, the earliest of the three dates.

B6
A
B
C
1
Contract
Start date
2
C-11
12-Feb-2025
3
C-12
01-Jan-2025
4
C-13
02-Feb-2025
5
6
Earliest start
01-Jan-2025
7

B6 =MIN(B2:B4) returns 01-Jan-2025

Example 4

A range with only text returns 0

B5 =MIN(B2:B3)

Result: 0

There are no numbers, so MIN returns 0 rather than an error.

B5
A
B
C
1
Region
Result
2
North
n/a
3
South
pending
4
5
Lowest
0
6

B5 =MIN(B2:B3) returns 0

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In E5, return the lowest supplier quote.

Answer in E5.

E5
A
B
C
D
E
1
Supplier
Quote
Sales
52,000
2
Apex
1,240
Rate
4%
3
Brill
1,185
Cap
1,800
4
Cobb
1,310
5
Dale
1,195
Lowest quote
6
Eton
1,260
Commission
7
8

Common mistakes

  • Zero counts as a number. If 0 stands for "no data", MIN returns 0 every time. Use MINIFS with ">0" to find the lowest real value.
  • A range with no numbers returns 0, not an error. Check with COUNT when the cells might be text.
  • Numbers stored as text are ignored, so MIN can return a value that is higher than the true minimum. Convert the text numbers first.
  • MIN returns the value, not its label. Use INDEX and MATCH, or XLOOKUP, to find the row that holds it.
  • An error value in the range, such as #N/A, makes MIN return that error. Fix the source cell or use AGGREGATE with option 6 to skip errors.

Questions people ask

How do I find the smallest value that is not zero?

Use MINIFS: `=MINIFS(C2:C9,C2:C9,">0")`. In older versions, use `=SMALL(C2:C9,COUNTIF(C2:C9,0)+1)` when the data has no negatives.

How do I limit a calculation to a maximum?

Wrap it in MIN with the cap as the second argument: `=MIN(B1*B2,1000)` can never return more than 1,000.

Why does MIN return 0 when no cell is 0?

The range probably has no numbers. Values stored as text, or an empty range, give 0. Check the range with COUNT.

What is the difference between MIN and SMALL?

MIN returns the single smallest value. SMALL returns the nth smallest, such as the second or third lowest: `=SMALL(B2:B6,2)`.

Learn MIN in a real sheet.

MIN is taught in Excel foundations, lesson 6: AVERAGE, MIN and MAX. Each lesson is a short, graded exercise like the one above.