SUMIF vs SUMIFS argument order
The #1 trip-up in Excel tests is the flipped argument order between SUMIF and SUMIFS. Notice where the numbers to sum sit in each:
Criteria range → rule → sum range.
Sum range → criteria range 1 → rule 1 (add more pairs as needed).
Comparisons, cell references, and wildcards
=SUMIF(A2:A7, "Search", C2:C7)Always wrap text criteria in double quotes. Matching is case-insensitive.
=SUMIF(A2:A7, "<>Email", C2:C7)Use <> inside quotes to add every row except Email.
=SUMIF(C2:C7, ">500")Operators like >, >=, < go inside quotes. Omit sum_range when summing the same column.
=SUMIF(C2:C7, ">="&F1)Join the quoted operator to a cell reference with &.
=SUMIF(B2:B7, "*Launch*", C2:C7)* matches any characters before or after the word.
4 mistakes that break SUMIF
#NAME? missing quotes
Writing =SUMIF(A2:A7, Search, C2:C7) without quotes makes Excel look for a named range called Search.
Returns 0 (swapped ranges)
In SUMIF, the criteria column comes first (A2:A7) and the numbers to add come last (C2:C7).
Returns 0 (missing sum_range)
If criteria matches text in A2:A7 and you omit C2:C7, Excel tries to add the text cells and returns 0.
SUMIFS argument order
SUMIFS puts sum_range FIRST: =SUMIFS(C2:C7, A2:A7, "Search"). Swapping it causes #VALUE! or 0.
FAQ
What is the difference between SUMIF and SUMIFS?
SUMIF handles one condition and puts sum_range last: SUMIF(range, criteria, [sum_range]). SUMIFS handles one or more conditions and puts sum_range first: SUMIFS(sum_range, criteria_range1, criteria1, ...).
Why does my SUMIF formula return 0?
Usually either the ranges are swapped (numbers placed before the criteria column), sum_range was left out when matching a text column, or the text criteria has a typo or trailing space.
Why does SUMIF return #NAME??
Unquoted text criteria (like Search instead of "Search") or a misspelled function name causes #NAME?. Wrap text rules and operators like ">500" in double quotes.
Is SUMIF case-sensitive in Excel?
No. "Search", "search", and "SEARCH" all match identically in both SUMIF and SUMIFS.