Formula Guide

The Excel SUMIFS Function
explained simply

SUMIFS adds numbers where multiple conditions are all true. Here is the complete guide — syntax, 6 real examples, common mistakes and FAQ.

ExcelPro · 6 min read · Updated June 2026
Contents
  1. What does SUMIFS do?
  2. Syntax
  3. 6 real examples
  4. SUMIFS vs SUMIF
  5. Common mistakes
  6. FAQ

What does SUMIFS do?

SUMIFS adds numbers where multiple conditions are all true at the same time. It is the multi-condition version of SUMIF — when you need to filter by more than one criterion before summing, SUMIFS is the formula.

Common real uses: total sales for one product in one region, sum expenses for one department in one month, add up hours for one employee on one project.

Syntax

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
ArgumentDescription
sum_range requiredThe column of numbers to add up. This comes FIRST — unlike SUMIF where it comes last.
criteria_range1 requiredThe first column to check the condition against.
criteria1 requiredThe first condition to match.
criteria_range2, criteria2 optionalAdditional conditions. All must be true for a row to be included. Up to 127 pairs.
⚠️ Key difference from SUMIF

In SUMIF, sum_range is the third argument. In SUMIFS, sum_range is the first argument. This is the most common mistake when switching between the two.

6 real examples

Example 1
Sum sales for one product in one region
=SUMIFS(C2:C100, A2:A100, "Coffee", B2:B100, "North")

Column A = product, column B = region, column C = sales. Only rows where A="Coffee" AND B="North" are summed.

Example 2
Sum using cell references (dynamic)
=SUMIFS(C2:C100, A2:A100, F1, B2:B100, F2)

F1 and F2 hold the filter values. Change them and all linked SUMIFS formulas update instantly — this is how dashboards work.

Example 3
Sum within a date range
=SUMIFS(C2:C100, A2:A100, ">="&DATE(2026,1,1), A2:A100, "<="&DATE(2026,3,31))

Sum values where the date falls in Q1 2026. Use & to join the operator with the DATE formula.

Example 4
Sum values above average AND in one category
=SUMIFS(C2:C100, A2:A100, "Coffee", C2:C100, ">"&AVERAGE(C2:C100))

Combine text and numeric conditions freely. Here: sum Coffee sales that were above the overall average.

Example 5
Three conditions at once
=SUMIFS(D2:D100, A2:A100, "Coffee", B2:B100, "North", C2:C100, "2026")

Product = Coffee AND Region = North AND Year = 2026. Every condition must be true for a row to count.

Example 6
Exclude a value
=SUMIFS(C2:C100, A2:A100, "<>Refund", B2:B100, "North")

Sum all North region sales that are NOT refunds. Use <> for "not equal to" in criteria.

SUMIFS vs SUMIF — when to use each

SituationUse
One conditionSUMIF or SUMIFS (both work)
Two or more conditionsSUMIFS only
Sum range = criteria rangeSUMIF (cleaner syntax)
💡 Use SUMIFS for everything

SUMIFS works for one condition too, making it a universal replacement for SUMIF. Many experienced Excel users just use SUMIFS all the time and forget SUMIF exists.

Common mistakes

⚠️ sum_range comes first in SUMIFS

The most common mistake. In SUMIF the sum range is last. In SUMIFS it is first. If you get a wrong result, check your argument order.

⚠️ Mismatched range sizes

All ranges (sum_range, criteria_range1, criteria_range2 etc.) must be the same size. A2:A100 and B2:B50 in the same formula returns a #VALUE! error.

⚠️ OR logic not supported natively

SUMIFS uses AND logic — all conditions must be true. For OR logic (condition1 OR condition2), add two SUMIFS results together: =SUMIFS(...)+SUMIFS(...).

FAQ

Can I use wildcards in SUMIFS?
Yes. Use * for any characters and ? for one character: =SUMIFS(C:C,A:A,"*coffee*",B:B,"North") sums all rows where the product name contains "coffee" and the region is North.
Can SUMIFS sum across multiple sheets?
Not directly. SUMIFS works within one range. For multi-sheet conditional sums, add SUMIFS results from each sheet, or restructure your data into one sheet.
Why is my SUMIFS returning 0?
Common causes: extra spaces in data (use TRIM), numbers stored as text, wrong argument order (sum_range must be first), or criteria typed incorrectly. Check each range independently with a simple SUMIF first.

Practise SUMIFS with real data

ExcelPro has SUMIFS exercises in every specialist track — realistic multi-condition scenarios, free to start.

Try SUMIFS exercises →

Related formulas

SUMIF COUNTIFS AVERAGEIFS MAXIFS SUMPRODUCT IF