Excel SUMIFS function: add with two or more conditions

Updated October 29, 2026 · 3 min read

SUMIFS adds values that meet every condition you give it. The range to add goes first. =SUMIFS(B2:B7,E2:E7,"East",B2:B7,">1000") adds sales that are in the East and over 1,000.

The examples use this small sales table, the same one in the practice box below.

A RepB SalesD TargetE Region
2Dana1,2501,000East
3Luis8301,000West
4Priya2,1001,000East
5Marcus4751,000North
6Jen9901,000West
7Omar1,6001,000East

Syntax

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

Each condition is a pair: where to look, then what to look for. A row is added only when it passes every pair.

Examples

FormulaResult
=SUMIFS(B2:B7,E2:E7,"East",B2:B7,">1000")4,950
=SUMIFS(B2:B7,E2:E7,"West",B2:B7,">900")990

SUMIF vs SUMIFS argument order

FunctionRange to add
SUMIFLast: =SUMIF(E2:E7,"East",B2:B7)
SUMIFSFirst: =SUMIFS(B2:B7,E2:E7,"East")

Many people just use SUMIFS for everything, even one condition, so they only have to remember one order.

Common mistakes

  • Putting the range to add last, out of SUMIF habit.
  • Ranges of different sizes, like B2:B7 with E2:E8. Excel returns #VALUE!.
  • Expecting OR logic. SUMIFS is always AND. For "East or West," add two SUMIFS together.

Counting and averaging the same way

COUNTIFS and AVERAGEIFS take the same condition pairs. COUNTIFS has no range to add. AVERAGEIFS puts the range to average first, like SUMIFS.

Try it: Big East sales total

Add up the sales that are in the East region and over 1000. Put the total in B8.

B8

Graded live, like a real Excel test. Press New numbers to prove you didn't memorize the answer. More practice

Questions people ask

Can SUMIFS use OR logic?

Not directly. Add two SUMIFS together, one per option, like East plus West.

Can I use dates as conditions?

Yes. Use a comparison joined to a date, like ">="&DATE(2026,1,1).

Practice on a real spreadsheet

CellReady grades your formula the moment you press Enter and tells you why a wrong answer is wrong. The first 7 lessons are free, with no sign-up to start.

Start lesson one

Related guides

Excel SUMIF function: add only the rows you want

How to use SUMIF in Excel, the argument order that trips people up, using cell references in the condition, and a live exercise.

Excel COUNTIF function: count cells that meet a condition

How to use COUNTIF in Excel with numbers, text and cell references, plus COUNTIFS for two conditions and a live exercise.

Excel formulas cheat sheet for job tests

A one-page cheat sheet of the Excel formulas that show up on pre-employment tests, with the syntax, a real example and the mistake to avoid for each.