Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Perform logical operations in formulas
MO-211

Perform logical operations by using the MINIFS() function

=MINIFS($C$2:$C$7, $B$2:$B$7, E2)

Return the lowest price among the rows whose part matches E2. The range to take the minimum from comes first, then range and condition pairs.

What the MO-211 task asks

A MINIFS task asks for the smallest value in a subset: “return the lowest Occupancy for shows whose SoldOut value is No”. “Lowest”, “smallest” or “cheapest … for” is MINIFS.

MINIFS has the same argument order as MAXIFS and SUMIFS, and the same habit when nothing matches: it returns 0. On a minimum that is especially misleading, because 0 looks like the cheapest price of all.

Our grader checks the value in every cell of the target range. It reads the values, not the function, so any formula that produces them earns the points — but one wrong cell fails the whole range.

Worked examples

Type these into a blank sheet to follow along. Every result below is what Excel showed.

Quotes
ABC
1SupplierPartPrice
2BrixBolt0.95
3AcmeBolt1.25
4ColeNut0.45
5AcmeNut0.35
6BrixWasher0.15
7ColeBolt1.05
Lowest price (the video fills F2:F4)
EF
1PartLowest
2Nut0.35
3Bolt0.95
4Screw0
One condition
=MINIFS(C2:C7, B2:B7, "Nut")
Returns 0.35

The two nut quotes are 0.45 and 0.35.

Two conditions
=MINIFS(C2:C7, B2:B7, "Bolt", A2:A7, "<>Brix")
Returns 1.05

The cheapest bolt from anyone but Brix.

Nothing matches
=MINIFS(C2:C7, B2:B7, "Screw")
Returns 0

No one quoted for screws, and MINIFS returns 0 rather than an error.

Filled down a column
=MINIFS($C$2:$C$7, $B$2:$B$7, E2)
Returns 0.35, 0.95, 0 in F2:F4

Each row reads its part from column E, across the same locked ranges. This is what the video below builds.

Watch it done in Excel

The last example above, recorded in real Excel on the same grid.

Exam traps

A 0 that looks like the cheapest price

=MINIFS(C2:C7, B2:B7, "Screw") returns 0 because nothing matched, not because screws are free. Check the condition against the data before you accept it.

Filling down without locking

Unlocked, the formula in F2 filled to F3 searches rows 3 to 8. Bolt loses Brix's 0.95 and shows 1.05.

MIN of the whole column

A plain minimum ignores the condition: the cheapest item in the list is Brix's washer at 0.15, which is not the answer for any part asked about.

Expecting the supplier

MINIFS returns the price. To name the supplier, look it up: =XLOOKUP(MINIFS(C2:C7, B2:B7, "Bolt"), C2:C7, A2:A7) returns Brix.

FAQ

Is the condition case-sensitive?

No. =MINIFS(C2:C7, B2:B7, "nut") returns 0.35.

Can I use wildcards?

Yes. =MINIFS(C2:C7, B2:B7, "W*") returns 0.15, the cheapest part starting with W.

Can the condition be a comparison?

Yes. =MINIFS(C2:C7, C2:C7, ">0.5") returns 0.95, the cheapest quote over 0.50.

New to this function?

This page covers what the exam asks. For the full how-to — every argument, more examples and a practice workbook — read our guide on dfwexcel.com.

The MINIFS function, explained — dfwexcel.com

Try it under exam conditions

Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.

No credit card needed.