Practice free

MIN function

MIN returns the smallest number in the values you supply, such as the cheapest price or earliest date. It returns 0 when no numbers are found, which can mislead.

Example

Read it as a sentence: find the smallest number in A1:A8, which gives 2.

Practice this in the app

Syntax

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

Arguments in [square brackets] are optional.

number1 (required)
First number, reference or range.
number2 (optional)
More numbers or ranges.

Returns: The smallest number in the supplied values.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=MIN({2,4,4,4,5,5,7,9}) 2 Array constant
=MIN(10,"20",TRUE) 1 Direct args: number, text-number, TRUE
=MIN(5) 5 Single number
=MIN({1,"2",TRUE,3}) 1 Array with text and boolean
=MIN(Data!A1:A8) 2 Range of numbers
=MIN(Data!B1:B8) 10 Mixed range: num, text-number, TRUE, blank, text, FALSE
=MIN(10,"abc") #VALUE! Direct arg: non-numeric text
=MIN(Data!C1:C5) #N/A Range containing #N/A

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Ignores text and logicals in ranges.
  • Returns 0 when no numbers are found, which can mislead.
  • Blank cells are skipped, but cells containing 0 are not.

Where it works

Excel
MIN is in every version of Excel from 2007 on.
Google Sheets
Same name, same behaviour for everyday use.

Part of Statistical functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .