SUMIF vs SUMIFS: The Argument-Order Trap
You total East region sales with SUMIF, then add a second condition, rearrange it into SUMIFS — and get zero or a #VALUE! error, because the two functions want their arguments in opposite orders.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
SUMIF reads: where to look, what to match, what to add — =SUMIF(A2:A50,"East",B2:B50) puts the sum range last. SUMIFS reverses it: the sum range comes FIRST, followed by range/condition pairs — =SUMIFS(B2:B50,A2:A50,"East"). Both of those return the identical East total; SUMIFS just keeps accepting more pairs, and every pair must match (AND logic). The reversal exists because SUMIF's sum range is optional while SUMIFS takes unlimited pairs, but the practical effect is that copying SUMIF's order into SUMIFS sums the wrong column or errors out. Standardizing on SUMIFS for every conditional total means one argument order to remember.
When to use it
Use it to total deals by region, invoices by customer, or hours by project — and the moment a boss adds "but only over $1,000," you just append a pair instead of rewriting.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08