What you will learn
- Check more than one thing at once
- Put the parts in the right order
How it works
The functions that end in S can check many things. A row must match all of them.
Watch the order! SUMIFS puts the numbers to add up first. Then come pairs: where to look, what to look for.
Formulas at a glance
=SUMIFS(sum_range, range1, crit1, range2, crit2) | The pattern to follow |
=COUNTIFS(range1, crit1, range2, crit2) | The pattern to follow |
Example
Write the formula to add up the West orders that have shipped.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Order | Region | Amount | Status | Question | Answer | |
| 2 | 1001 | West | $820.00 | Shipped | West + Shipped total | ||
| 3 | 1002 | East | $240.00 | Pending | East orders ≥ 300 | ||
| 4 | 1003 | North | $510.00 | Shipped | Pending total over 300 | ||
| 5 | 1004 | West | $130.00 | Shipped | East + Shipped total | ||
| 6 | 1005 | South | $975.00 | Pending | West orders under 500 | ||
| 7 | 1006 | East | $660.00 | Shipped | |||
| 8 | 1007 | West | $390.00 | Pending |
Click G2 and type =SUMIFS(C2:C9,B2:B9,"West",D2:D9,"Shipped"), then press Enter.
The answer is $950.00.
When to use it
- Total East sales that shipped
- Spending on wants in one month
- Any total with two or more conditions
Common mistakes
- Putting the sum range last, like in SUMIFIn SUMIFS the sum range comes first.
- Ranges of different sizesEvery range must cover the same rows.
- Expecting ORAll conditions must match. For OR, add two SUMIFS.
Quick check
In SUMIFS, what comes first?
- What to look for
- The numbers to add up
- Where to look
- It doesn't matter
Show the answer
B. The numbers to add up The numbers to add up always go first.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.