Learn Excel
EN
Sets how numbers, dates and formulas look, so everything works just like your own Excel.

Home › Excel functions › SUMIFS

SUMIFS in Excel: Sum with Multiple Criteria

SUMIFS adds up the values that meet all of your conditions: sales in the North region in January, hours per employee above a threshold, costs between two dates. It's the multi-condition version of SUMIF.

In this guide
  1. SUMIFS syntax
  2. Basic example
  3. Try it yourself
  4. Between two dates
  5. Criteria types
  6. OR conditions
  7. Common mistakes
  8. More SUMIFS examples
  9. Keep learning
  10. FAQ

SUMIFS syntax

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)

The range to add up comes first, followed by pairs of a range and its condition. You can add up to 127 pairs. All ranges must be the same size.

Basic example

ABC
1DateRegionSales
2Jan 8, 2026North1,200
3Jan 15, 2026South800
4Feb 3, 2026North950
5Feb 20, 2026East450
6Mar 2, 2026South700
=SUMIFS(C2:C6, B2:B6, "North", A2:A6, "<"&DATE(2026,2,1))

North sales before February: only row 2 matches both conditions, so the result is 1,200.

SUMIFS practice: try it yourself

Reading is one thing, typing it is another. Build the formula below step by step: the tips tell you what to type next, and you can click or drag across cells to add them, just like in Excel.

Task: Add up the West sales over 500 in D2: =SUMIFS(B2:B8,A2:A8,"West",B2:B8,">500")

Sum between two dates

Use the date column twice, once with >= and once with <=. With the start date in F1 and the end date in F2:

=SUMIFS(C2:C6, A2:A6, ">="&F1, A2:A6, "<="&F2)

From Jan 1 to Feb 28, 2026 this returns 3,400. Always join the operator and the cell with &; writing ">=F1" inside the quotes doesn't work. For a whole month, EOMONTH gives you the last day: "<="&EOMONTH(F1, 0).

Criteria you can use

ConditionCriteria
Equal to text"South"
Not equal"<>South"
Greater than a number">750"
Greater than a cell">"&F3
Starts with"Nor*" (see wildcards)
Not empty"<>"
Empty""

Example: South sales above 750: =SUMIFS(C2:C6, B2:B6, "South", C2:C6, ">750") returns 800.

OR conditions

All conditions in SUMIFS must be true at the same time. For "North or East", add two SUMIFS:

Comparison operators: what to type

TypeMeans
=is equal to
>greater than
<less than
>=greater than or equal to: first >, then =
<=less than or equal to: first <, then =
<>not equal to: first <, then >

Always two separate keys, never a special symbol. In criteria, put the operator and the value together inside quotes, such as ">=500" or "<>Paid" as the condition.

=SUMIFS(C2:C6, B2:B6, "North") + SUMIFS(C2:C6, B2:B6, "East")

That returns 2,600. A shorter version with an array constant: =SUM(SUMIFS(C2:C6, B2:B6, {"North","East"})).

Common mistakes

  • #VALUE!: the ranges have different sizes.
  • Result is 0: dates or numbers are stored as text, or the criteria have a typo or extra spaces.
  • Argument order mixed up: in SUMIFS the sum range is first; in SUMIF it's last.

More SUMIFS examples

Copy a formula and change the ranges to match your own data.

What you wantFormula
Sum column C where A matches E1 and B matches F1=SUMIFS(C2:C100, A2:A100, E1, B2:B100, F1)
Sum one month (January 2026)=SUMIFS(C2:C100, B2:B100, ">="&DATE(2026, 1, 1), B2:B100, "<"&DATE(2026, 2, 1))
Sum only amounts above 100 for E1=SUMIFS(C2:C100, A2:A100, E1, C2:C100, ">100")
OR: sum for E1 or E2=SUMIFS(C2:C100, A2:A100, E1)+SUMIFS(C2:C100, A2:A100, E2)

Frequently asked questions

What's the difference between SUMIF and SUMIFS?

SUMIF takes one condition, SUMIFS one or more. In SUMIFS the range to add up comes first.

Can SUMIFS use the same column twice?

Yes. That's exactly how you sum between two dates or two numbers.

Can SUMIFS sum across multiple columns?

No, the sum range must be one column (or row). Use one SUMIFS per column and add them up, or SUMPRODUCT for more complex cases.