Going Stellar

Home/Google Sheets reference

Google Sheets function · Statistical

MIN in Google Sheets: syntax and examples

MIN returns the smallest number among its arguments, which can be single values, cells or ranges. Text and blank cells inside a range are skipped.

Syntax

MIN(value1, [value2, ...])

Arguments

ArgumentTypeRequiredWhat it does
value1anyyesThe first number or range to compare.
value2, ...anynoMore numbers or ranges. Up to the limit of the function, all are compared together.

Examples

The examples use this table, starting in A1:

ItemQ1Q2Note
A12095.5ok
B80110n/a
C15060ok
D45late
=MIN(B2:B5)

Result: 45

The smallest Q1 value in the column.

Run in a Google Sheet (English US locale) on .

=MIN(C2:C5)

Result: 60

C5 is blank. A blank cell is skipped, it does not count as 0.

Run in a Google Sheet (English US locale) on .

=MIN(B2:C3)

Result: 80

A two-dimensional range: all four numbers are compared.

Run in a Google Sheet (English US locale) on .

=MIN(B2:B3, C4)

Result: 60

A range and a single cell in one call.

Run in a Google Sheet (English US locale) on .

=MIN(FILTER(B2:B5, D2:D5 = "ok"))

Result: 120

Minimum only over rows marked ok. FILTER picks the rows first.

Run in a Google Sheet (English US locale) on .

Common errors

  • A range that holds only text returns 0, not an error. A wrong range can therefore look like a real minimum of zero.
  • Text typed directly as an argument, such as MIN("abc", 5), returns #VALUE!. Text inside a referenced range is ignored instead.
  • For a minimum with a condition, MIN alone is not enough. Use MINIFS, or FILTER inside MIN.

Compared with Excel

Same syntax in Excel.

Sources

  1. MIN (Docs Editors Help)

Markdown version · All functions