Excel MINIFS Function

MINIFS returns the smallest value whose matching cells satisfy one or more conditions.

Use it for conditional minimums, such as lowest bid by vendor type, earliest qualifying date, or smallest cost for one category and status.

1
Choose values to compare The min range supplies the numbers
2
Add criteria pairs Each pair tests matching cells
3
Return the smallest match Every condition must pass

MINIFS syntax & arguments

Syntax

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

    min_range

    Required

    The cells to evaluate for the minimum when all criteria pass.

  2. 2

    criteria_range1

    Required

    The first range of cells to test.

  3. 3

    criteria1

    Required

    The condition that cells in criteria_range1 must meet. It can be a number, text, cell reference, expression such as ">100", or wildcard pattern.

  4. 4

    criteria_range2, criteria2

    Optional Repeatable

    Additional range-and-criteria pairs. Each extra criteria range must line up with min_range, and only values that meet every criterion are considered for the minimum.

Example

=MINIFS(D2:D50, B2:B50, "East", C2:C50, "Complete")

Return the smallest value in D2:D50 where B2:B50 is East and the matching cell in C2:C50 is Complete.

MINIFS caveats

  • The min range comes first

    Like SUMIFS and AVERAGEIFS, MINIFS starts with the result range, then uses range-and-criteria pairs.

  • Criteria ranges must align

    Every criteria range should cover the same rows or columns as min_range so each test lines up with the value being compared.

  • All conditions are AND logic

    A value can become the minimum only when every criteria pair passes for the same row or position.

  • Operators usually need quotes

    Criteria such as ">100" or "<>Cancelled" must be written as text.

  • No matching numeric values can return 0

    If no qualifying numeric value is found, MINIFS can return 0, which may look like a real minimum.

Need the highest matching value? Use MAXIFS when the same conditions should return a maximum instead.

Intro MINIFS practice problem

Solve the intro problem directly here, or open it on its own page.

Open full problem

Advanced MINIFS practice problems

Use MINIFS alongside other Excel functions in realistic, less-prescriptive challenges.