What MIN does

MIN returns the smallest number in a list. Point it at a column of quotes and it shows the cheapest one; point it at dates and it shows the earliest. It looks at every number you give it, whether that’s one range like B2:B6 or several ranges separated by commas. MAX does the opposite.

It also works with separate values, which makes it useful for limits. =MIN(B2,150) means “B2, but never more than 150”: whichever is smaller wins, so the result is capped at 150.

In a range, MIN looks only at numbers and skips empty cells and text. A 0 is a number, though, so a 0 in the range is usually the smallest value.

Syntax

=MIN(number1, [number2], ...)
Arguments in square brackets are optional; the rest are required.
number1Required
The first number, cell or range to look at, usually a range like B2:B6.
number2Optional, can repeat
More numbers, cells or ranges, separated by commas, up to 255 in all. MIN returns the smallest of everything you list.

Example: the lowest quote

Five suppliers have quoted for the same job.

Bayside's 3,980 is the smallest number in B2:B6. In B7, =MIN(B2:B6) returns 3,980.

MIN gives the amount, not the supplier. To bring back the name beside it, look the amount up with XLOOKUP: =XLOOKUP(B7,B2:B6,A2:A6).

Example: cap a claim at a limit

Mileage is repaid up to the limit in B1 for each trip. The formula in C4 is filled down to C6.

Each trip is paid what was claimed, or the limit if that's smaller. In C4, =MIN(B4,$B$1) returns 150.

The dollar signs keep every row pointing at the limit in B1 when the formula is filled down. Change the limit and every capped row follows.

MIN without zeros, or with a condition

MINIFS looks only at the cells that meet the conditions you set, so it can leave out the zeros or the rows from other regions:

  • Ignore zeros: =MINIFS(B2:B6,B2:B6,"<>0") returns the smallest number that isn’t 0.
  • Add a condition: with regions in B2:B20 and amounts in C2:C20, =MINIFS(C2:C20,B2:B20,"North") returns the lowest North amount.

MINIFS needs Microsoft 365 or Excel 2019 or later, and it shows 0 when no cell matches. In Excel 2016 and earlier, =MIN(IF(B2:B6<>0,B2:B6)) ignores zeros when you confirm it with Ctrl+Shift+Enter (Cmd+Shift+Return on a Mac).

Common mistakes

  • MIN reports a 0 typed in for “no quote yet” as the lowest value. Leave the cell empty until the number is known, so MIN skips it.
  • When the range holds no numbers, MIN shows 0 rather than an error, and that looks like a real answer. Check that the range covers the data.
  • Imported figures that are really text are skipped, so the true lowest value may be missing from the answer.
  • One error in the range, such as #N/A from a lookup, makes MIN show that error too. Fix the formulas that produce it, for example with IFERROR.

Frequently asked questions

Does MIN ignore blank cells?

Yes. MIN skips empty cells and text in a range. Cells holding 0 are included and usually win.

How do I get MIN to ignore zeros?

Use MINIFS with "<>0" as the condition: =MINIFS(B2:B6,B2:B6,"<>0") returns the smallest number other than 0. MINIFS needs Microsoft 365 or Excel 2019 or later.

How do I find the second smallest value?

Use SMALL: =SMALL(B2:B6,2) returns the second smallest number, =SMALL(B2:B6,3) the third.

Does MIN work with dates?

Yes. Dates are numbers in Excel, so =MIN(A2:A50) returns the earliest date. Format the cell as a date to read it.

Why does MIN return 0?

Either a 0 in the range is the smallest value, or the range holds no numbers at all, for example because the figures are stored as text. MIN shows 0 in both cases, so check the range before you trust the result.