Excel function

MINIFSfunction

Returns the smallest value among rows that meet every condition.

Excel 2019+
=MINIFS(C2:C9, B2:B9, "Apple", A2:A9, "<>Daegu")
Range to drag
A
B
C
D
1
2
3
4
5
6
7
8
9

Drag the corner dots to change min_range, criteria_range1, criteria_range2. Click a cell in the criteria range to use its value as the criteria. Move min_range to column D (Sales) to find the smallest sales for the same conditions. Try breaking it on purpose to see the errors.

Result

25

min_range
C2:C9Drag a corner dot up/down to resize, sideways to change the column

The column to find the smallest value in.

criteria_range1
B2:B9

The column checked against the first condition.

criteria1

The first condition.

criteria_range2
A2:A9

The column checked against the second condition.

criteria2

The second condition.

What is the MINIFS function?

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

MINIFS returns the smallest value among rows that meet every condition, such as the smallest apple quantity outside Daegu.

It compares the matching values one by one and remembers the smallest so far. One condition is enough.

MINIFS is available in Office 2019 and later and in Microsoft 365. It is not in Excel 2016.

Arguments

min_range
The cells to find the smallest value in. The first argument.
criteria_range1, criteria1
The range for the first condition and the condition.
criteria_range2, criteria2, ...
Optional. Every criteria range must be the same size as min_range, or you get #VALUE!.

MINIFS examples

  1. Example 1. Smallest apple quantity outside Daegu

    =MINIFS(C2:C9, B2:B9, "Apple", A2:A9, "<>Daegu")

    Daegu is left out; the smaller of 30 and 25 is 25. This is how the sheet first opens.

  2. Example 2. Lowest Busan sales

    =MINIFS(D2:D9, A2:A9, "Busan")

    Of 28800, 67500 and 37500, the smallest is 28800.

  3. Example 3. Wildcard: products ending in "ead"

    =MINIFS(D2:D9, B2:B9, "*ead")

    The two bread rows have 25600 and 57600; the smaller is 25600.

Common mistakes

FAQ

Is there a MINIF?
No. Use MINIFS even with one condition.
Smallest value above 0?
Add a ">0" condition on the same range: =MINIFS(C2:C9, C2:C9, ">0").
Largest value?
Use MAXIFS the same way.