SUMIF vs SUMIFS
Updated · Works in: all current Excel versions, Google Sheets · Every example checked before release
Short answer
Use SUMIFS(sum_range, range1, criteria1, …) for one condition or many. SUMIF(range, criteria, sum_range) takes only one, and puts the numbers last instead of first.
Use SUMIFS: it handles one condition or many, and its argument order stays the same as you add conditions. The catch is that order: SUMIF is (range, criteria, sum_range) with the numbers last, and SUMIFS is (sum_range, range1, criteria1, …) with the numbers first. Both work in every current Excel version and in Google Sheets.
| SUMIF | SUMIFS | |
|---|---|---|
| Conditions | One | One or more (all must match) |
| Where the numbers go | Last: (range, criteria, sum_range) | First: (sum_range, range1, criteria1, …) |
| Excel | Every current version | Every current version |
| Google Sheets | Yes | Yes |
The same total both ways
How many plants were ordered? SUMIF(E2:E13, "Plants", F2:F13) checks the Category column and adds the matching quantities. The SUMIFS version starts with the quantities: SUMIFS(F2:F13, E2:E13, "Plants"). Both give 15.
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Date | Customer | Product | Category | Qty | Price | Status | Plants qty | 15 | |
| 2 | 1001 | 2 Mar 2026 | Mara Okafor | Monstera | Plants | 1 | $34.00 | Shipped | |||
| 3 | 1002 | 2 Mar 2026 | Jonas Lind | Terracotta pot | Pots | 3 | $12.50 | Shipped | |||
| 4 | 1003 | 3 Mar 2026 | Priya Raman | Snake plant | Plants | 2 | $22.00 | Shipped | |||
| 5 | 1004 | 4 Mar 2026 | Tomás Ruiz | Watering can | Tools | 1 | $18.00 | Pending | |||
| 6 | 1005 | 5 Mar 2026 | Elif Demir | Fern | Plants | 4 | $9.50 | Shipped | |||
| 7 | 1006 | 5 Mar 2026 | Mara Okafor | Potting mix | Soil | 2 | $7.25 | Returned | |||
| 8 | 1007 | 6 Mar 2026 | Kenji Mori | Pruning shears | Tools | 1 | $24.00 | Shipped | |||
| 9 | 1008 | 7 Mar 2026 | Ines Varga | Ceramic pot | Pots | 2 | $19.00 | Pending | |||
| 10 | 1009 | 8 Mar 2026 | Jonas Lind | Monstera | Plants | 1 | $34.00 | Shipped | |||
| 11 | 1010 | 9 Mar 2026 | Sofia Rossi | Fern | Plants | 6 | $9.50 | Shipped | |||
| 12 | 1011 | 10 Mar 2026 | Priya Raman | Potting mix | Soil | 5 | $7.25 | Shipped | |||
| 13 | 1012 | 11 Mar 2026 | Leo Brandt | Snake plant | Plants | 1 | $22.00 | Pending |
A second condition needs SUMIFS
Plants that have also shipped: SUMIFS(F2:F13, E2:E13, "Plants", H2:H13, "Shipped"). The answer is 14, one fewer than before, because one plant order is pending. To keep going, add more range and criteria pairs; the sum range stays at the front.
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Date | Customer | Product | Category | Qty | Price | Status | Shipped plants qty | 14 | |
| 2 | 1001 | 2 Mar 2026 | Mara Okafor | Monstera | Plants | 1 | $34.00 | Shipped | |||
| 3 | 1002 | 2 Mar 2026 | Jonas Lind | Terracotta pot | Pots | 3 | $12.50 | Shipped | |||
| 4 | 1003 | 3 Mar 2026 | Priya Raman | Snake plant | Plants | 2 | $22.00 | Shipped | |||
| 5 | 1004 | 4 Mar 2026 | Tomás Ruiz | Watering can | Tools | 1 | $18.00 | Pending | |||
| 6 | 1005 | 5 Mar 2026 | Elif Demir | Fern | Plants | 4 | $9.50 | Shipped | |||
| 7 | 1006 | 5 Mar 2026 | Mara Okafor | Potting mix | Soil | 2 | $7.25 | Returned | |||
| 8 | 1007 | 6 Mar 2026 | Kenji Mori | Pruning shears | Tools | 1 | $24.00 | Shipped | |||
| 9 | 1008 | 7 Mar 2026 | Ines Varga | Ceramic pot | Pots | 2 | $19.00 | Pending | |||
| 10 | 1009 | 8 Mar 2026 | Jonas Lind | Monstera | Plants | 1 | $34.00 | Shipped | |||
| 11 | 1010 | 9 Mar 2026 | Sofia Rossi | Fern | Plants | 6 | $9.50 | Shipped | |||
| 12 | 1011 | 10 Mar 2026 | Priya Raman | Potting mix | Soil | 5 | $7.25 | Shipped | |||
| 13 | 1012 | 11 Mar 2026 | Leo Brandt | Snake plant | Plants | 1 | $22.00 | Pending |
Turning a SUMIF into a SUMIFS
The most common mistake is adding a condition to a SUMIF without moving the sum range. Rewrite it in this order: the range to add, then each range with its criteria. Paste both versions into the formula explainer to see which argument is which. If the result is 0 instead of a total, SUMIFS returns 0 lists the causes.
Which should a beginner learn first?
SUMIFS. You'll need more than one condition sooner than you think, and learning one argument order is easier than two. Read SUMIF when you meet it in other people's files: it's the same idea with the sum range at the end. The SUMIFS guide covers dates, wildcards and criteria from cells.
Check yourself
One real exercise from the “Conditional totals” unit. Checked on our server; no account needed.What's the revenue from Shipped orders? In K2, add up the Total (column I) of the rows whose Status (column H) is Shipped.
- Use SUMIF
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Date | Customer | Product | Category | Qty | Price | Status | Total | ||
| 2 | 1001 | 2 Mar 2026 | Mara Okafor | Monstera | Plants | 1 | $34.00 | Shipped | $34.00 | Shipped revenue | |
| 3 | 1002 | 2 Mar 2026 | Jonas Lind | Terracotta pot | Pots | 3 | $12.50 | Shipped | $37.50 | ||
| 4 | 1003 | 3 Mar 2026 | Priya Raman | Snake plant | Plants | 2 | $22.00 | Shipped | $44.00 | ||
| 5 | 1004 | 4 Mar 2026 | Tomás Ruiz | Watering can | Tools | 1 | $18.00 | Pending | $18.00 | ||
| 6 | 1005 | 5 Mar 2026 | Elif Demir | Fern | Plants | 4 | $9.50 | Shipped | $38.00 | ||
| 7 | 1006 | 5 Mar 2026 | Mara Okafor | Potting mix | Soil | 2 | $7.25 | Returned | $14.50 | ||
| 8 | 1007 | 6 Mar 2026 | Kenji Mori | Pruning shears | Tools | 1 | $24.00 | Shipped | $24.00 | ||
| 9 | 1008 | 7 Mar 2026 | Ines Varga | Ceramic pot | Pots | 2 | $19.00 | Pending | $38.00 | ||
| 10 | 1009 | 8 Mar 2026 | Jonas Lind | Monstera | Plants | 1 | $34.00 | Shipped | $34.00 | ||
| 11 | 1010 | 9 Mar 2026 | Sofia Rossi | Fern | Plants | 6 | $9.50 | Shipped | $57.00 | ||
| 12 | 1011 | 10 Mar 2026 | Priya Raman | Potting mix | Soil | 5 | $7.25 | Shipped | $36.25 | ||
| 13 | 1012 | 11 Mar 2026 | Leo Brandt | Snake plant | Plants | 1 | $22.00 | Pending | $22.00 |
Common mistakes
Copying a SUMIF and adding conditions without moving the sum range to the front.
Ranges of different sizes in SUMIFS, which give #VALUE!.
Expecting OR logic: SUMIFS needs every condition to match. Add two SUMIFS for OR.
Questions
Can SUMIF take more than one condition?+
No. SUMIF has exactly one range and one criteria. For more, use SUMIFS, or add several SUMIFs together for OR.
Does SUMIFS work in Google Sheets?+
Yes, with the same argument order as Excel: sum range first.
Reading is step one. Now make it stick.
Practise it in a five-minute lesson on a live sheet, with instant feedback. No account needed for the free units.
Sources
Official documentation the facts on this page were checked against.