Formualizer Docs

MINIFS

Returns the minimum numeric value in a range that meets all criteria.

MINIFS evaluates one or more (criteria_range, criteria) pairs and returns the smallest matching numeric value.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

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

Arguments

ArgumentTypeRequiredDefault
min_rangeanyRequired—
criteria_range1anyRequired—
criteria1anyRequired—
criteria_range2anyOptional—
criteria2anyOptional—

Accepts a variable number of arguments. Minimum: 3.

Remarks

  • An equality criterion for a date or number ("10/26/1999", "36459", 36459) also matches text cells holding that date; <> and ordering criteria do not read date text.
  • Arguments must be target_range plus one or more criteria pairs.
  • Criteria are combined with logical AND.
  • Returns 0 when no cells satisfy all criteria.
  • Non-numeric cells in target_range are ignored.

Examples

Aggregate numbers from only the East records.

Formula =MINIFS(A1:A3,B1:B3,"East")

Input cells
AB
110"East"
250"West"
320"East"

Expected result 10

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Add a second criterion so both conditions must hold.

Formula =MINIFS(A1:A3,B1:B3,"East",C1:C3,">3")

Input cells
ABC
110"East"2
250"West"4
320"East"6

Expected result 20

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Aggregate the only row in a single-row data set.

Formula =MINIFS(A1:A1,B1:B1,"East",C1:C1,2)

Input cells
ABC
110"East"2

Expected result 10

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Minimum value for one condition

Formula =MINIFS(A1:A3,B1:B3,"East")

Input cells
AB
110"East"
220"West"
315"East"

Expected result 10

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Minimum value with two criteria

Formula =MINIFS(A1:A4,B1:B4,"B",C1:C4,"Q1")

Input cells
ABC
1100"A""Q1"
280"A""Q2"
390"B""Q1"
470"B""Q1"

Expected result 70

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

How does MINIFS treat non-numeric target cells?

Non-numeric target cells are ignored; only numeric matches are eligible.

Implementation

Engine source

On this page