Perform logical operations by using the SUMIFS() function
=SUMIFS($C$2:$C$7, $A$2:$A$7, E2, $B$2:$B$7, F2)Total the revenue on the rows where the region matches E2 and the channel matches F2. The range to total comes first, then each range and its condition in pairs.
What the MO-211 task asks
A SUMIFS task asks for a total with two or more conditions, and in our MO-211 practice exams it usually says so: “total the Takings for journeys that are on the Valley route AND dated on or after 1-Jun-2026. Both conditions must hold.” “Both conditions must hold” is the signal.
Each condition is a range and a test, in pairs after the range to total. A date or number condition goes in quotes with its operator — ">="&E5 to compare with a cell. SUMIFS only does AND: every condition has to be true on the same row.
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 | Region | Channel | Revenue |
| 2 | East | Online | 500 |
| 3 | East | Store | 300 |
| 4 | West | Online | 450 |
| 5 | East | Online | 250 |
| 6 | West | Store | 600 |
| 7 | North | Online | 350 |
| E | F | G | |
|---|---|---|---|
| 1 | Region | Channel | Revenue |
| 2 | West | Store | 600 |
| 3 | East | Online | 750 |
| 4 | North | Store | 0 |
=SUMIFS(C2:C7, A2:A7, "East", B2:B7, "Online")Rows 2 and 5 are both East and Online: 500 + 250.
=SUMIFS(C2:C7, A2:A7, "East", C2:C7, ">=300")The East rows of at least 300: 500 and 300. The total range can also be a condition range.
=SUMIFS(C2:C7, B2:B7, "Store", A2:A7, "<>North")Store sales outside the North region: 300 + 600.
=SUMIFS($C$2:$C$7, $A$2:$A$7, E2, $B$2:$B$7, F2)Each row reads its region and channel from columns E and F. North has no Store sales, so its total is 0, not an error. 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
SUMIFS takes the range to total first. Write it SUMIF's way — =SUMIFS(A2:A7, "East", C2:C7) — and the arguments no longer pair up, so Excel will not accept the formula.
Every range must be the same size. =SUMIFS(C2:C7, A2:A6, "East") returns #VALUE!, where SUMIF would have quietly carried on.
Unlocked, the formula in G2 filled to G3 tests rows 3 to 8. East Online loses row 2 and totals 250 instead of 750.
Every condition must hold on the same row. =SUMIFS(C2:C7, A2:A7, "East", A2:A7, "West") returns 0, because no row is in both. For East or West, add two SUMIFS: =SUMIFS(C2:C7, A2:A7, "East")+SUMIFS(C2:C7, A2:A7, "West") returns 2100.
FAQ
Can SUMIFS take just one condition?
Yes. =SUMIFS(C2:C7, A2:A7, "West") returns 1050, the same as the SUMIF.
How do I write a date condition?
Join the operator to a cell that holds the date: ">="&H2. The operator stays in quotes; the cell reference stays outside them.
What does SUMIFS return when nothing matches?
0, as North Store does above. It never returns an error for no matches.
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 SUMIFS 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.
