SUMPRODUCT vs SUMIFS
Updated · Works in: all current Excel versions, Google Sheets · Every example checked before release
Short answer
Use SUMIFS for conditional totals: simpler to read and write. Use SUMPRODUCT((condition)*values) when a condition needs a calculation, such as MONTH(A2:A17)=3, or for weighted sums.
Use SUMIFS for conditional totals, and SUMPRODUCT when a condition needs a calculation SUMIFS can't do. SUMIFS takes ranges and criteria; SUMPRODUCT multiplies TRUE/FALSE conditions by the values and adds them up. Both work in every current Excel version and in Google Sheets.
| SUMIFS | SUMPRODUCT | |
|---|---|---|
| Conditions | Range and criteria pairs (AND) | Any expression that gives TRUE/FALSE |
| A calculation inside a condition (MONTH, LEFT…) | No | Yes |
| OR logic | Add two SUMIFS | Add conditions with + |
| Weighted sums | No | Yes |
| Excel and Google Sheets | Yes | Yes |
The same total both ways
Revenue from the North region. SUMIFS(E2:E17, B2:B17, "North") and SUMPRODUCT((B2:B17="North")*E2:E17) both give $3,744.50. In the SUMPRODUCT version, (B2:B17="North") is a column of TRUE/FALSE that becomes 1s and 0s when multiplied by the revenue.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Month | Region | Product | Units | Revenue | North revenue | $3,744.50 | |
| 2 | Jan 2026 | North | Fern | 40 | $380.00 | |||
| 3 | Jan 2026 | North | Monstera | 12 | $408.00 | |||
| 4 | Jan 2026 | South | Fern | 35 | $332.50 | |||
| 5 | Jan 2026 | South | Monstera | 9 | $306.00 | |||
| 6 | Feb 2026 | North | Fern | 44 | $418.00 | |||
| 7 | Feb 2026 | North | Monstera | 15 | $510.00 | |||
| 8 | Feb 2026 | South | Fern | 31 | $294.50 | |||
| 9 | Feb 2026 | South | Monstera | 11 | $374.00 | |||
| 10 | Mar 2026 | North | Fern | 52 | $494.00 | |||
| 11 | Mar 2026 | North | Monstera | 14 | $476.00 | |||
| 12 | Mar 2026 | South | Fern | 38 | $361.00 | |||
| 13 | Mar 2026 | South | Monstera | 13 | $442.00 | |||
| 14 | Apr 2026 | North | Fern | 47 | $446.50 | |||
| 15 | Apr 2026 | North | Monstera | 18 | $612.00 | |||
| 16 | Apr 2026 | South | Fern | 42 | $399.00 | |||
| 17 | Apr 2026 | South | Monstera | 16 | $544.00 |
A condition SUMIFS can't express
March revenue, when column A holds full dates: SUMPRODUCT can apply MONTH to the whole column, SUMPRODUCT((MONTH(A2:A17)=3)*E2:E17), which gives $1,773.00. SUMIFS can't run a function on its criteria range; it needs two date criteria instead (on or after 1 March, before 1 April), which the SUMIFS dates fix shows.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Month | Region | Product | Units | Revenue | March revenue | $1,773.00 | |
| 2 | Jan 2026 | North | Fern | 40 | $380.00 | |||
| 3 | Jan 2026 | North | Monstera | 12 | $408.00 | |||
| 4 | Jan 2026 | South | Fern | 35 | $332.50 | |||
| 5 | Jan 2026 | South | Monstera | 9 | $306.00 | |||
| 6 | Feb 2026 | North | Fern | 44 | $418.00 | |||
| 7 | Feb 2026 | North | Monstera | 15 | $510.00 | |||
| 8 | Feb 2026 | South | Fern | 31 | $294.50 | |||
| 9 | Feb 2026 | South | Monstera | 11 | $374.00 | |||
| 10 | Mar 2026 | North | Fern | 52 | $494.00 | |||
| 11 | Mar 2026 | North | Monstera | 14 | $476.00 | |||
| 12 | Mar 2026 | South | Fern | 38 | $361.00 | |||
| 13 | Mar 2026 | South | Monstera | 13 | $442.00 | |||
| 14 | Apr 2026 | North | Fern | 47 | $446.50 | |||
| 15 | Apr 2026 | North | Monstera | 18 | $612.00 | |||
| 16 | Apr 2026 | South | Fern | 42 | $399.00 | |||
| 17 | Apr 2026 | South | Monstera | 16 | $544.00 |
Speed and readability
SUMIFS says what it does in its arguments, so others can read it at a glance. For SUMPRODUCT, Microsoft advises against whole-column references in SUMPRODUCT for performance. SUMPRODUCT shines for weighted sums and averages: the SUMPRODUCT guide has a weighted average on a live sheet. If it shows #VALUE!, the ranges are different sizes or text crept into a multiplication.
Which should a beginner learn first?
SUMIFS: it covers most conditional totals you'll write, and its criteria rules carry over to COUNTIFS and AVERAGEIFS. Learn SUMPRODUCT once SUMIFS feels easy, for the cases above. The SUMIFS guide is the place to start.
Check yourself
One real exercise from the “Reporting patterns” unit. Checked on our server; no account needed.Total North Monstera revenue with SUMPRODUCT, in H2.
- Use SUMPRODUCT
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Month | Region | Product | Units | Revenue | |||
| 2 | Jan 2026 | North | Fern | 40 | $380.00 | North Monstera | ||
| 3 | Jan 2026 | North | Monstera | 12 | $408.00 | |||
| 4 | Jan 2026 | South | Fern | 35 | $332.50 | |||
| 5 | Jan 2026 | South | Monstera | 9 | $306.00 | |||
| 6 | Feb 2026 | North | Fern | 44 | $418.00 | |||
| 7 | Feb 2026 | North | Monstera | 15 | $510.00 | |||
| 8 | Feb 2026 | South | Fern | 31 | $294.50 | |||
| 9 | Feb 2026 | South | Monstera | 11 | $374.00 | |||
| 10 | Mar 2026 | North | Fern | 52 | $494.00 | |||
| 11 | Mar 2026 | North | Monstera | 14 | $476.00 | |||
| 12 | Mar 2026 | South | Fern | 38 | $361.00 | |||
| 13 | Mar 2026 | South | Monstera | 13 | $442.00 | |||
| 14 | Apr 2026 | North | Fern | 47 | $446.50 | |||
| 15 | Apr 2026 | North | Monstera | 18 | $612.00 | |||
| 16 | Apr 2026 | South | Fern | 42 | $399.00 | |||
| 17 | Apr 2026 | South | Monstera | 16 | $544.00 |
Common mistakes
Ranges of different sizes inside SUMPRODUCT, which give #VALUE!.
Multiplying a text column directly instead of comparing it first:
(B2:B17="North")*E2:E17, notB2:B17*E2:E17.Reaching for SUMPRODUCT for a plain condition SUMIFS handles more clearly.
Questions
Can SUMIFS do OR conditions?+
Not in one function: add two SUMIFS together. SUMPRODUCT can add conditions instead of multiplying them, but watch for rows that match both.
Do these work in Google Sheets?+
Yes, both, with the same syntax.
Reading is step one. Now make it stick.
Practise it in a five-minute lesson on a live sheet, with instant feedback. No account needed for the free units.
Sources
Official documentation the facts on this page were checked against.