Fix guide

SUMIFS not working in Google Sheets™? 8 causes + fixes

When SUMIFS breaks, it usually fails in one of two ways: it returns an obvious error, or worse, it returns a number that looks plausible but is too low. This guide walks through the eight causes that matter most in real Google Sheets™ files, with the exact diagnostic formula for each.

The safe SUMIFS pattern

If you are summing paid January invoices, write the date criteria as operators joined to real date values:

=SUMIFS( D:D, A:A, ">="&DATE(2026,1,1), A:A, "<"&DATE(2026,2,1), B:B, "Paid" )

That pattern avoids most date parsing bugs. The sum range is D:D, the date range is A:A, and the status range is B:B. Every criteria pair is range, criterion.

Try a sample: Download the SUMIFS text-number demo data, paste it into a blank Google Sheet, and compare the imported amount total with the cleaned amount total. Or open the SheetBrain demo workbook — the Sales totals sheet plants a mixed text/number column at B7 that is the textbook silent-skip cause behind a wrong SUMIFS total.

Cause 1 - Your ranges are different sizes

SUMIFS expects the sum range and every criteria range to be the same shape. This often breaks after someone uses D2:D for the amount column but A:A for the date column.

Wrong: =SUMIFS(D2:D100, B:B, "Paid") Right: =SUMIFS(D2:D100, B2:B100, "Paid")

Find it: compare row counts for each range.

=ROWS(D2:D100)=ROWS(A2:A100)

Repeat for each criteria range. If any result is FALSE, fix the range sizes first.

Cause 2 - Date criteria are written as plain text

Dates are the most common SUMIFS trap. A criterion like ">=1/1/2026" can work in some locale settings and fail or behave strangely in others.

Risky: =SUMIFS(D:D, A:A, ">=1/1/2026") Safer: =SUMIFS(D:D, A:A, ">="&DATE(2026,1,1))

Fix: use DATE(year, month, day) or reference a real date cell: ">="&F1.

Cause 2b - You wrapped YEAR(), MONTH(), or another function around the criteria range

If you want to sum a year's worth of amounts, the instinct is to write YEAR(A:A)=2026 as the criterion. It looks correct. It is the most common shape behind the recurring r/googlesheets question "SUMIFS and dates not working right."

Wrong: =SUMIFS(D:D, YEAR(A:A), 2026)

SUMIFS does not array-broadcast functions across a criteria range. YEAR(A:A) collapses to a single value, so the criteria range no longer matches the sum range in shape, and you usually get #VALUE! or a silently wrong total. The same trap applies to MONTH, WEEKNUM, TEXT, and any function wrapped around the criteria range.

Fix — option A: express the year as a date range using two criteria pairs, no function wrapping:

Right: =SUMIFS( D:D, A:A, ">="&DATE(2026,1,1), A:A, "<"&DATE(2027,1,1) )

Fix — option B: use SUMPRODUCT, which does array-broadcast, when you really need a function-derived condition:

Right: =SUMPRODUCT((YEAR(A2:A1000)=2026) * D2:D1000)

Same idea works for MONTH, WEEKDAY, or anything else you need to derive from the date column.

Cause 3 - Your date column is stored as text

Imported dates can look like dates while actually being text. SUMIFS will not treat text dates the same as real dates, so rows get skipped silently.

Find it: dates are numbers internally. This should be TRUE for real dates:

=ISNUMBER(A2)

For the whole column, count likely text dates:

=COUNTA(A2:A1000)-COUNT(A2:A1000)

Fix: convert the column with DATEVALUE in a helper column, or use Google Sheets™ data cleanup to split/parse the imported date text.

Cause 4 - Amounts are mixed numbers and text

If the sum range contains numbers mixed with text-stored amounts like "15000", "$15,000", or "15K", your total can be too low without showing an error.

Find it:

=COUNTA(D2:D1000)-COUNT(D2:D1000)

If the result is greater than zero and column D should be numeric, those rows need normalization.

Fix: strip symbols and convert to numbers in a helper column. For simple comma/currency cases:

=VALUE(SUBSTITUTE(SUBSTITUTE(D2,"$",""),",",""))

Cause 5 - Hidden spaces in criteria values

"Paid" and "Paid " look the same in a cell, but SUMIFS sees different text. This happens constantly with pasted statuses, customer names, regions, and product codes.

Find it:

=SUMPRODUCT(--(LEN(B2:B1000)<>LEN(TRIM(B2:B1000))))

Fix: normalize criteria columns with TRIM in helper columns, then run SUMIFS against the cleaned values.

Cause 6 - One criteria cell is blank

If your formula points at a criteria cell, and that cell is blank, SUMIFS searches for blanks. That can return zero or a misleading total.

=SUMIFS(D:D, B:B, F2)

If F2 is empty, the formula is not "missing a filter"; it is filtering for blank statuses.

Fix: add an explicit guard:

=IF(F2="", "", SUMIFS(D:D, B:B, F2))

Cause 7 - You need OR logic, but SUMIFS is AND-only

SUMIFS combines criteria with AND logic. This means Status = "Paid" and Status = "Pending" can never both be true for the same row.

Wrong: =SUMIFS(D:D, B:B, "Paid", B:B, "Pending") Right: =SUMIFS(D:D, B:B, "Paid") + SUMIFS(D:D, B:B, "Pending")

For many OR conditions, FILTER or QUERY may be clearer than stacking multiple SUMIFS formulas.

Cause 8 - Imported data includes merged cells, extra headers, or blanks

Reports copied from another tool often include repeated header rows, merged category cells, blank subtotal rows, or footer totals. SUMIFS treats them as data unless you filter them out.

Find it: temporarily filter the source range for blanks in required columns and obvious header text in the middle of the table.

Fix: clean the imported data into a flat table before summing. One header row. One record per row. No merged cells in the calculation range.

Where SheetBrain helps: SheetBrain's free Check tab does not prove every SUMIFS formula is logically correct. It does catch two common causes behind bad totals: visible formula errors and mixed text/number columns. For formula rewriting or criteria syntax help, use SheetBrain's Generate or Debug tabs.

Quick diagnostic checklist

Paste these into a helper tab and point the ranges at your actual data:

Same row count: =ROWS(D2:D1000)=ROWS(A2:A1000) Text dates: =COUNTA(A2:A1000)-COUNT(A2:A1000) Text amounts: =COUNTA(D2:D1000)-COUNT(D2:D1000) Hidden spaces: =SUMPRODUCT(--(LEN(B2:B1000)<>LEN(TRIM(B2:B1000)))) Blank criteria: =COUNTBLANK(F2:F10)

Check the data behind your SUMIFS

SheetBrain reads your actual Google Sheets™ data structure. The free Check tab flags visible formula errors, mixed-type columns, duplicate lookup keys, and broken references. Generate and Debug can help write or repair the SUMIFS formula itself.

Install free on Google Workspace

TL;DR

  • Check range sizes first. Every SUMIFS range should cover the same rows and columns.
  • Use real dates. Prefer ">="&DATE(2026,1,1) over typed date strings.
  • Look for text-stored dates and numbers. They are the biggest silent-skip cause.
  • Trim criteria columns. Hidden spaces make matching values fail.
  • Remember SUMIFS is AND-only. Add separate SUMIFS formulas for OR logic.
  • Use SheetBrain for the data audit. Check catches mixed-type columns and visible formula errors; Generate/Debug helps with formula wording.