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.
| A | B | C | |
|---|---|---|---|
| 1 | Supplier | Part | Price |
| 2 | Brix | Bolt | 0.95 |
| 3 | Acme | Bolt | 1.25 |
| 4 | Cole | Nut | 0.45 |
| 5 | Acme | Nut | 0.35 |
| 6 | Brix | Washer | 0.15 |
| 7 | Cole | Bolt | 1.05 |
| E | F | |
|---|---|---|
| 1 | Part | Lowest |
| 2 | Nut | 0.35 |
| 3 | Bolt | 0.95 |
| 4 | Screw | 0 |
=MINIFS(C2:C7, B2:B7, "Nut")The two nut quotes are 0.45 and 0.35.
=MINIFS(C2:C7, B2:B7, "Bolt", A2:A7, "<>Brix")The cheapest bolt from anyone but Brix.
=MINIFS(C2:C7, B2:B7, "Screw")No one quoted for screws, and MINIFS returns 0 rather than an error.
=MINIFS($C$2:$C$7, $B$2:$B$7, E2)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
=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.
Unlocked, the formula in F2 filled to F3 searches rows 3 to 8. Bolt loses Brix's 0.95 and shows 1.05.
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.
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.comTry 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.
