Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
SUMIF 'not working' covers several symptoms: returning 0 when a non-zero sum is expected, returning #VALUE!, returning the wrong number, or the formula showing as text. The root cause is almost always a criteria problem, a range mismatch, or a data-type inconsistency in the sum_range.
=SUMIF(B2:B100,>100,C2:C100)=SUMIF(B2:B100,">100",C2:C100)The comparison operator > must be inside a quoted string. Without quotes it is a syntax error in most spreadsheet engines.
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 SUMIF and broken formula at once — or paste this one formula and get the fix explained.
Concatenate the operator and the cell: =SUMIF(B:B,">"&E2,C:C). This joins the operator string with the number in E2 at calculation time.
Yes, but the date must be a real date value, not text. Use =SUMIF(A:A,">"&DATE(2024,1,1),B:B) to sum rows after 1 Jan 2024.
SUMIF only handles one criteria range and one criteria value. For multiple criteria, use SUMIFS, which accepts pairs of criteria_range and criteria.
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 fixSUMIFS returns 0 in Excel and Google Sheets — fix criteria order errors, range size mismatches, data-type problems, and AND logic misunderstandings.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: