Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
SUMIFS returns 0 when none of the rows satisfy all criteria simultaneously. Because SUMIFS applies AND logic — every criteria_range/criteria pair must match the same row — adding more conditions narrows the result, and a mismatch in any one condition causes the whole row to be excluded.
=SUMIFS(B2:B100,A2:A100,"North",A2:A100,"South")=SUMIFS(C2:C100,A2:A100,"North",B2:B100,"Q1")The broken formula applied two criteria to the same column (A) with mutually exclusive values. The fixed version filters A for region 'North' AND B for quarter 'Q1', which is logically achievable on the same row.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Stop hunting errors by hand.
Upload your spreadsheet and the Auditor flags every 0 and broken formula at once — or paste this one formula and get the fix explained.
SUMIFS always uses AND. For OR logic, add multiple SUMIFS results: =SUMIFS(C:C,A:A,"North")+SUMIFS(C:C,A:A,"South"). For complex OR scenarios in Excel 365 or Sheets, consider SUMPRODUCT or FILTER.
Check that both boundaries are real date values. A common mistake is using a text-formatted date in one of the criteria. Use DATE() or a cell reference to a real date for both the >= and < boundaries.
Yes. Use * for any characters and ? for a single character: =SUMIFS(C:C,A:A,"*apple*") sums rows where column A contains 'apple' anywhere in the text.
Add up the cells in a range that meet a single condition.
How-toUnderstand when to use SUMIF (one condition) versus SUMIFS (multiple conditions) for conditional summing in Excel and Google Sheets.
Error fixSUMIF returns 0 instead of the expected total in Excel and Google Sheets — fix number-as-text, criteria mismatch, range size errors, and data-type issues.
ReferenceSum values that meet multiple conditions at once.
How-toUse SUMIF with a date comparison criterion to sum values only for dates on or after (or before) a specific date in your data range.
Error fixSUMIF not working in Excel and Google Sheets — diagnose formula errors, criteria syntax problems, range mismatches, and wildcard issues.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: