This article describes the formula syntax and usage of the MIN function in Microsoft Excel.

Description

Returns the smallest number in a set of values.

Syntax

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

The MIN function syntax has the following arguments:

  • Number1, number2, ...    Number1 is optional, subsequent numbers are optional. 1 to 255 numbers for which you want to find the minimum value.

Remarks

  • Arguments can either be numbers or names, arrays, or references that contain numbers.

  • Logical values and text representations of numbers that you type directly into the list of arguments are counted.

  • If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored.

  • If the arguments contain no numbers, MIN returns 0.

  • Arguments that are error values or text that cannot be translated into numbers cause errors.

  • If you want to include logical values and text representations of numbers in a reference as part of the calculation, use the MINA function.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Data

10

7

9

27

2

Formula

Description

Result

=MIN(A2:A6)

Smallest of the numbers in the range A2:A6.

2

=MIN(A2:A6,0)

Smallest of the numbers in the range A2:A6 and 0.

0

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.