SUMIFS returns 0: why, and how to fix it
Updated · Checked on a live sheet · Excel and Google Sheets
The most likely fix
SUMIFS returns 0, not an error, when no row matches every condition, so the most likely cause is a criteria that differs from the data: a typo, a singular for a plural, or a stray space. Check the criteria against a real cell in the column, or point the criteria at that cell instead of typing it.
Fix it yourself
The formula in K1 shows the problem. Edit it to the fixed version and watch the sheet recalculate.
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Date | Customer | Product | Category | Qty | Price | Status | Plants sold | 0 | |
| 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 |
Shows the problem
=SUMIFS(F2:F13,E2:E13,"Plant")Fixed
=SUMIFS(F2:F13,E2:E13,"Plants")Causes, most likely first
1The criteria doesn't match the data exactly
SUMIFS compares the criteria with every cell of the criteria range, and only exact matches count (text ignores case). “Plant” never equals “Plants”, so nothing is added and the total is 0. The same happens with a trailing space in either the data or the criteria. Use a wildcard if you mean “contains”:
"*Plant*".Wrong
=SUMIFS(F2:F13,E2:E13,"Plant")Fixed
=SUMIFS(F2:F13,E2:E13,"Plants")2The sum range holds text, not numbers
SUMIFS adds only numbers. If the sum range points at a column of names, or numbers imported as text, every matching row adds nothing. In the sheet above,
SUMIFS(D2:D13, E2:E13, "Plants")sums the Product column and returns 0. Point the first argument at the numbers, and convert text-numbers with VALUE (clean up messy text).Wrong
=SUMIFS(D2:D13,E2:E13,"Plants")Fixed
=SUMIFS(F2:F13,E2:E13,"Plants")3A comparison written without &
Inside quotes, everything is text.
">=K1"compares each cell with the letters K1, which no number matches, so the total is 0. Join the operator to the cell with&instead:">="&K1. The criteria from a cell section shows more.Wrong
=SUMIFS(F2:F13,B2:B13,">=K1")Fixed
=SUMIFS(F2:F13,B2:B13,">="&K1)4Dates stored as text
A date criteria like
">="&K1compares numbers, because real dates are numbers underneath. If the date column was imported as text, no row passes the comparison. Re-enter the dates or convert them with DATEVALUE, then the total appears. SUMIFS dates not working covers dates in detail.5The conditions can never all be true
SUMIFS joins its conditions with AND. Two conditions on the same column, such as Status = "Pending" and Status = "Returned", can't both be true on one row, so the total is 0. For OR, add two SUMIFS together.
Wrong
=SUMIFS(F2:F13,H2:H13,"Pending",H2:H13,"Returned")Fixed
=SUMIFS(F2:F13,H2:H13,"Pending")+SUMIFS(F2:F13,H2:H13,"Returned")
Stop it happening again
Point criteria at cells instead of typing them: a criteria cell next to the formula (K1 holding “Plants”) can be a dropdown made with Data Validation from the category column, so the spelling always matches the data. Clean imported columns once with TRIM before you build totals on them. And test a new SUMIFS against something you can count by eye: filter the table to the same conditions and compare the status bar's Sum with the formula. When the two agree on one case, the formula is right for the rest. If you often add up the same columns by several conditions, a summary grid with one SUMIFS filled across and down (summary grids) makes a wrong 0 stand out next to its neighbours.
Questions
Why does SUMIF work but SUMIFS return 0?
The argument order differs. SUMIF is (range, criteria, sum_range) and SUMIFS is (sum_range, range1, criteria1, …). Copying a SUMIF and adding conditions without moving the sum range to the front makes SUMIFS add the criteria column, which holds text, so the total is 0.
How do I make SUMIFS show a blank instead of 0?
Wrap it: IF(SUMIFS(…)=0, "", SUMIFS(…)), or in Excel 2021 and later LET(t, SUMIFS(…), IF(t=0, "", t)) so SUMIFS runs once. A number format like 0;-0; also hides zeros without changing the value.
In Google Sheets
Google Sheets' SUMIFS has the same arguments in the same order (sum range first) and returns 0 for the same reasons. Its criteria follow the same rules: text in quotes, comparison operators inside the quotes, & to join an operator to a cell, and * and ? as wildcards.
Why this happens
SUMIFS answers “what do the matching rows add up to?”, and when no row matches, the honest answer is 0. That's why it never warns you about a typo: as far as SUMIFS knows, there simply were no “Plant” orders. Errors are for broken formulas; mismatched range sizes give #VALUE!. The SUMIFS guide explains criteria step by step, and the course's SUMIFS lesson lets you practise them on a live sheet.
Sources
Official documentation the facts on this page were checked against.