SUMIFS in Excel: explained simply
You have a sales list and want to know: how much did the North region sell in January? SUMIFS adds up exactly the rows that match your conditions. Here you see what goes into the formula, what to select and how to enter it step by step.
=SUMIFS(D2:D13, A2:A13, F2, B2:B13, G2)SUMIFS asks: what should I add up, and which conditions must the rows meet? First comes the column with the numbers, then always a pair of column and condition.
What stands for what?
The formula has three parts. The first is a column; the other two are pairs: where Excel checks and what must be there.
The column with the numbers, here the revenue: D2:D13.
You select the column from row 2 to 13. In SUMIFS it always comes first.
Where do I check, and what must be there? Region column A2:A13, condition in F2 (“North”).
You select the column, type a comma, then click the cell with the condition.
The second pair: month column B2:B13, condition in G2 (“January”).
Same as condition 1. Add more pairs the same way.
The use case: revenue per region and month
On the left is the sales list, on the right a small summary. Column H should show the revenue for each combination of region and month. The colours show what you select:
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Region | Month | Product | Revenue | Region | Month | Revenue | |
| 2 | North | January | Coffee | 1200 | North | January | =SUMIFS(D2,A2:A13,F2,B2:B13,G2) | |
| 3 | South | January | Coffee | 950 | South | January | ||
| 4 | North | January | Tea | 600 | North | February | ||
| 5 | West | January | Coffee | 700 | South | February | ||
| … | … | … | … | … | ||||
| 13 | West | January | Tea | 250 |
Practice data to copy
Open a blank Excel workbook. Click “Copy data”, click the cell shown in Excel and press Ctrl+V.
| Region | Month | Product | Revenue |
|---|---|---|---|
| North | January | Coffee | 1200 |
| South | January | Coffee | 950 |
| North | January | Tea | 600 |
| West | January | Coffee | 700 |
| South | February | Tea | 400 |
| North | February | Coffee | 1100 |
| South | January | Tea | 300 |
| North | February | Tea | 500 |
| West | February | Coffee | 800 |
| South | February | Coffee | 1000 |
| North | January | Coffee | 450 |
| West | January | Tea | 250 |
| Region | Month | Revenue |
|---|---|---|
| North | January | |
| South | January | |
| North | February | |
| South | February |
Step by step: how to enter the formula
- Click cell H2. This is where the revenue should appear.
- Type
=SUMIFS(Excel now shows a small tooltip with the part that comes next. - Select D2 to D13, the revenue: press the mouse on D2, hold, drag to D13, let go. Press F4 and type a comma ,.F4 adds the dollar signs. They lock the range when you drag the formula down.
- Select A2 to A13, the regions. F4, comma. Then click F2 (North) and type a comma.
- Select B2 to B13, the months. F4, comma. Then click G2 (January).
- Type
)and press Enter. H2 now shows 2250: all revenue of the North region in January. - Copy the formula to all rows: click H2 and double-click the small square at the bottom right. Excel fills down to row 5.
Done. Your formula looks like this:
=SUMIFS($D$2:$D$13,$A$2:$A$13,F2,$B$2:$B$13,G2)What your result looks like
Check one row by hand: North in January is 1200 + 600 + 450 = 2250. If that is right, the others are too.
| Region | Month | Revenue |
|---|---|---|
| North | January | 2250 |
| South | January | 1250 |
| North | February | 1600 |
| South | February | 1400 |
Two extras once the basic formula works
Just one condition
Simply leave out the second pair. This formula adds up all revenue of the West region: result 1750. Text goes in quotation marks.
=SUMIFS($D$2:$D$13,$A$2:$A$13,"West")Use a comparison
Conditions can also be comparisons. This formula adds up only revenue above 500: result 6350. Here the sum and the condition check the same column.
=SUMIFS($D$2:$D$13,$D$2:$D$13,">500")If it does not work
- Result 0 – the condition does not match exactly. Often a stray space or a typo, such as “North ” instead of “North”.
- #VALUE! – the columns have different lengths. All must run from row 2 to row 13.
- Wrong total – the revenue column is not first. In SUMIFS it always comes first; in the older SUMIF it comes last.
- Numbers are not added – they are stored as text (green triangle in the cell). Select them, click the warning icon, “Convert to Number”.
Excel formulas your team actually uses
This exercise comes from our advanced Excel training. Your team works with SUMIFS, XLOOKUP, pivot tables and charts on their own data, as corporate Excel training on site or live online. A good next read: XLOOKUP explained simply.
Deutsche Version: SUMMEWENNS in Excel ganz einfach erklärt · More Excel tips: XLOOKUP explained simply and Excel drop-down list
SUMIFS: frequently asked questions
What is the difference between SUMIF and SUMIFS?
How many conditions can SUMIFS check?
Can I use a date as a condition?
Do I select the headers too?
Is SUMIFS available in Google Sheets?
Microsoft and Excel are trademarks of the Microsoft group of companies; Google Sheets is a trademark of Google LLC. SkillDay is an independent training provider. The practice data is fictitious.