formulastreak

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.

SUMIFSUMIFS
ConditionsOneOne or more (all must match)
Where the numbers goLast: (range, criteria, sum_range)First: (sum_range, range1, criteria1, …)
ExcelEvery current versionEvery current version
Google SheetsYesYes

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.

Leaf & Loam orders · edit K1 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultK1 = 15
ABCDEFGHIJK
1OrderDateCustomerProductCategoryQtyPriceStatusPlants qty15
210012 Mar 2026Mara OkaforMonsteraPlants1$34.00Shipped
310022 Mar 2026Jonas LindTerracotta potPots3$12.50Shipped
410033 Mar 2026Priya RamanSnake plantPlants2$22.00Shipped
510044 Mar 2026Tomás RuizWatering canTools1$18.00Pending
610055 Mar 2026Elif DemirFernPlants4$9.50Shipped
710065 Mar 2026Mara OkaforPotting mixSoil2$7.25Returned
810076 Mar 2026Kenji MoriPruning shearsTools1$24.00Shipped
910087 Mar 2026Ines VargaCeramic potPots2$19.00Pending
1010098 Mar 2026Jonas LindMonsteraPlants1$34.00Shipped
1110109 Mar 2026Sofia RossiFernPlants6$9.50Shipped
12101110 Mar 2026Priya RamanPotting mixSoil5$7.25Shipped
13101211 Mar 2026Leo BrandtSnake plantPlants1$22.00Pending

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.

Leaf & Loam orders · edit K1 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultK1 = 14
ABCDEFGHIJK
1OrderDateCustomerProductCategoryQtyPriceStatusShipped plants qty14
210012 Mar 2026Mara OkaforMonsteraPlants1$34.00Shipped
310022 Mar 2026Jonas LindTerracotta potPots3$12.50Shipped
410033 Mar 2026Priya RamanSnake plantPlants2$22.00Shipped
510044 Mar 2026Tomás RuizWatering canTools1$18.00Pending
610055 Mar 2026Elif DemirFernPlants4$9.50Shipped
710065 Mar 2026Mara OkaforPotting mixSoil2$7.25Returned
810076 Mar 2026Kenji MoriPruning shearsTools1$24.00Shipped
910087 Mar 2026Ines VargaCeramic potPots2$19.00Pending
1010098 Mar 2026Jonas LindMonsteraPlants1$34.00Shipped
1110109 Mar 2026Sofia RossiFernPlants6$9.50Shipped
12101110 Mar 2026Priya RamanPotting mixSoil5$7.25Shipped
13101211 Mar 2026Leo BrandtSnake plantPlants1$22.00Pending

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
Select K2 and type = to start its formula (in the cell or the formula bar)
ABCDEFGHIJK
1OrderDateCustomerProductCategoryQtyPriceStatusTotal
210012 Mar 2026Mara OkaforMonsteraPlants1$34.00Shipped$34.00Shipped revenue
310022 Mar 2026Jonas LindTerracotta potPots3$12.50Shipped$37.50
410033 Mar 2026Priya RamanSnake plantPlants2$22.00Shipped$44.00
510044 Mar 2026Tomás RuizWatering canTools1$18.00Pending$18.00
610055 Mar 2026Elif DemirFernPlants4$9.50Shipped$38.00
710065 Mar 2026Mara OkaforPotting mixSoil2$7.25Returned$14.50
810076 Mar 2026Kenji MoriPruning shearsTools1$24.00Shipped$24.00
910087 Mar 2026Ines VargaCeramic potPots2$19.00Pending$38.00
1010098 Mar 2026Jonas LindMonsteraPlants1$34.00Shipped$34.00
1110109 Mar 2026Sofia RossiFernPlants6$9.50Shipped$57.00
12101110 Mar 2026Priya RamanPotting mixSoil5$7.25Shipped$36.25
13101211 Mar 2026Leo BrandtSnake plantPlants1$22.00Pending$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.

Practise SUMIFS in the course

Sources

Official documentation the facts on this page were checked against.