1. Home
  2. Functions
  3. Statistical
  4. MINIFS

MINIFS function

Returns the smallest number among the cells that meet all conditions.

Syntax

=MINIFS(min_range, criteria_range1, criteria1, [criteria_range2], [criteria2], ...)

Arguments

ArgumentRequiredDescription
min_rangeRequiredThe cells to take the minimum of
criteria_range1RequiredThe first range to check
criteria1RequiredThe condition for the first range
criteria_range2OptionalMore ranges
criteria2OptionalMore conditions

How to use MINIFS

MINIFS takes 3 required arguments and 2 optional arguments, and accepts more values in the same pattern. Type =MINIFS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=MINIFS(B1:B3, A1:A3, "y")Result 10
Data in the sheet
AB
1y10
2n99
3y20

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.