Pivot Table vs SUMIFS: Which Is Better for Reports?
By ExcelReady TeamUpdated 7 min read
The short answer
Use a pivot table to explore data and build a summary fast: drag fields, regroup in seconds and show percentages of the total. Use SUMIFS when a report needs totals in fixed cells that update by themselves, such as a dashboard or a monthly template. Pivots need a refresh after the data changes; SUMIFS recalculates automatically.
Key takeaways
- A pivot table builds a whole summary in a few clicks and can be rearranged by dragging fields.
- A pivot table does not update when the data changes. You must refresh it, and widen its source when new rows are added.
- SUMIFS recalculates instantly and puts each number exactly where you want it, which suits dashboards and templates.
- SUMIFS needs one formula per number, and you must list the categories yourself (or with UNIQUE).
- Many analysts explore with a pivot, then build the final report with SUMIFS.
On this page+
Pivot table vs SUMIFS comes down to exploring versus reporting. A pivot table is the fastest way to summarize a table and try different layouts, while SUMIFS gives you live totals in exact cells that update the moment the data changes. This comparison is for anyone who builds weekly or monthly reports, or who expects a "summarize this data" task in an Excel test.
Pivot table vs SUMIFS at a glance#
Both add up numbers by category. They differ in how you build the summary and in how it stays up to date.
| Feature | Pivot table | SUMIFS |
|---|---|---|
| What it is | A summary tool: you drag fields into Rows, Columns, Values and Filters | A formula: =SUMIFS(sum_range, criteria_range1, criteria1, …) |
| Time to build a full summary | Seconds | One formula per number, plus a list of labels |
| Updates when data changes | No, you refresh it | Yes, instantly |
| New rows below the data | Missed until you widen the source (or use an Excel Table) | Included if the ranges cover them, such as whole columns |
| New categories | Appear on refresh | Need a new label row (or a UNIQUE list) |
| Change the layout | Drag a field, done | Rewrite or move formulas |
| % of total, counts, averages | Built in (Value Field Settings) | Separate formulas (COUNTIFS, AVERAGEIFS, division) |
| Exact cell placement | Pivot decides the layout | You choose every cell |
| See the rows behind a number | Double-click the value | Filter the data yourself |
How the same report looks both ways#
Here is a small sales table. The task: total sales for each region.
| A | B | C | |
|---|---|---|---|
| 1 | Region | Product | Sales |
| 2 | North | Laptop | 2,400 |
| 3 | South | Monitor | 1,000 |
| 4 | North | Dock | 450 |
| 5 | East | Laptop | 1,200 |
| 6 | South | Laptop | 3,600 |
| 7 | North | Laptop | 1,200 |
| 8 | East | Monitor | 1,500 |
| 9 | South | Dock | 300 |
With a pivot table#
- Click any cell in the table and choose Insert > PivotTable, then OK.
- Drag Region into the Rows box.
- Drag Sales into the Values box. It shows as Sum of Sales.
The pivot lists East 2,700, North 4,050 and South 4,900, with a Grand Total of 11,650. To split each region by product, drag Product into Rows below Region. That takes one more second.
With SUMIFS#
First list the regions in E2:E4 (type them, or use =SORT(UNIQUE(A2:A9)) in Excel 2021 or Microsoft 365). Then in F2:
=SUMIFS($C$2:$C$9,$A$2:$A$9,E2)$C$2:$C$9is the sum range: the numbers to add.$A$2:$A$9is the criteria range: where to check the region.E2is the criterion: the region to match. It has no$, so it moves as you fill down.
Fill down to F4 and you get the same three totals. Unlike the pivot, these cells update the moment someone edits a sale. The SUMIFS function guide covers more criteria, such as dates and "greater than" conditions.
To total one region and one product, add a second pair:
=SUMIFS(C2:C9,A2:A9,"North",B2:B9,"Laptop")That returns 3,600 (2,400 + 1,200).
Counts and averages#
A pivot switches from Sum to Count or Average in Value Field Settings. With formulas, you use the matching function instead, with the same locked ranges:
=COUNTIFS($A$2:$A$9,E2)
=AVERAGEIFS($C$2:$C$9,$A$2:$A$9,E2)For North, COUNTIFS returns 3 orders and AVERAGEIFS returns 1,350 (4,050 ÷ 3). Each extra statistic is another column of formulas, which is where a pivot saves time.
When to use a pivot table#
Use a pivot table when you are exploring or when the layout will change. It is the better choice when:
- You don't know the question yet. You can try region by product, then product by quarter, in seconds.
- The data has many categories, and you don't want to type or maintain a label list.
- You need percentages of a total. Value Field Settings > Show Values As > % of Grand Total does it without formulas. See our guide to pivot table percent of total.
- You want to check the rows behind a number. Double-click a value and Excel opens a new sheet with those rows.
- A job test says "summarize" and the clock is running. A pivot is usually the quickest correct answer.
When to use SUMIFS#
Use SUMIFS when the report has a fixed shape and must always be current. It is the better choice when:
- The number lives in a fixed cell, such as a dashboard tile or a cell another formula reads.
- Nobody should have to remember to refresh. SUMIFS recalculates by itself.
- You need your own layout, such as a template with set rows, gaps and notes, or a grid that mixes totals from different tables.
- The conditions come from input cells, so a user can type a region or date and see the total change.
- You are combining conditions a pivot handles awkwardly, such as a date range like "this month to date".
Whole-column ranges such as Sales!E:E pick up new rows automatically. For live date criteria, you would point SUMIFS at a cell with TODAY(); our article on TODAY vs NOW explains which to use.
Common mistakes with pivot tables and SUMIFS#
Most report errors come from these:
- Forgetting to refresh the pivot. The data changed, the pivot didn't. Right-click it and choose Refresh before you send the report.
- New rows outside the pivot's source. Rows added below the source range are ignored even after a refresh. Widen the source with Change Data Source, or build the pivot from an Excel Table (Ctrl+T, ⌘T on a Mac), which grows by itself.
- SUMIFS ranges of different sizes.
=SUMIFS(C2:C9,A2:A10,"North")returns #VALUE!, because every range must have the same number of rows. - Not locking SUMIFS ranges before filling down. Without
$signs, the ranges slide down and the lower totals miss the top rows. - Mixing up the argument order. SUMIFS puts the sum range first. SUMIF puts it last. If you type SUMIF's order into SUMIFS,
=SUMIFS(A2:A9,"North",C2:C9), Excel won't accept the formula. - Text that doesn't match exactly. "North " with a trailing space is a different value. Neither a pivot nor SUMIFS will group it with "North". Clean the data first.
Can you combine them?#
Yes, and many analysts do. A common workflow is to explore with a pivot to find what matters, then build the final report with SUMIFS so it stays live and keeps its layout.
You can also build a pivot-style summary entirely from formulas: UNIQUE makes the labels, SUMIFS and COUNTIFS fill in the numbers. When a new category appears in the data, UNIQUE adds a new label by itself. Our comparison of UNIQUE vs Remove Duplicates shows why a formula list is safer than deleting duplicates by hand. And if you only need to see the matching rows, not totals, look at the FILTER function vs AutoFilter instead.
Both skills come up in analyst hiring. Our list of Excel skills for data analysts puts pivot tables and SUMIFS near the top.
Our recommendation#
Learn both, and pick by the job:
- Exploring, summarizing a whole table, or racing a test clock: pivot table.
- A dashboard, a template, or any number another cell depends on: SUMIFS.
- A summary that must update itself and grow with new categories: UNIQUE plus SUMIFS.
If you only have time for one before a test, practise pivot tables for "summarize" tasks, but make sure you can write a two-condition SUMIFS from memory. It is one of the most common formula questions in Excel assessments.
Practise it#
Write the two-condition SUMIFS in the exercise on this page. Then open the Pivot tables 2 lesson to nest row fields, add a report filter, show % of grand total and see when SUMIFS is the better tool. Finish with the pivot-style summary with formulas lesson, where you rebuild a pivot table's report using SORT, UNIQUE, SUMIFS and COUNTIFS.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Your manager wants one live number: North's laptop sales. In G2, use SUMIFS to add up the Sales in C2:C9 where the region in A2:A9 matches E2 and the product in B2:B9 matches F2.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Sales | Sales | ||||||
| 2 | Laptop | |||||||
| 3 | ||||||||
| 4 | ||||||||
| 5 | ||||||||
| 6 | ||||||||
| 7 | ||||||||
| 8 | ||||||||
| 9 | ||||||||
| 10 | ||||||||
| 11 | ||||||||
| 12 |
Tip: SUMIFS starts with the range to add up. Then give each condition as a pair: the range to check, then the cell to match.
Practise this in a lesson
Frequently asked questions
Is a pivot table better than SUMIFS?
Neither is better everywhere. A pivot table is faster for exploring and summarizing a whole table, while SUMIFS is better for live totals in fixed cells, such as a dashboard or a report template.
Why doesn't my pivot table update when I change the data?
Pivot tables keep a saved copy of the data and only recalculate when you refresh them. Right-click the pivot and choose Refresh, or use Data > Refresh All. If you added rows below the source range, also widen the source or use an Excel Table as the source.
Can SUMIFS do everything a pivot table does?
SUMIFS can produce the same totals, and COUNTIFS and AVERAGEIFS cover counts and averages. But you write one formula per number and must create the row and column labels yourself, so a large or changing layout is quicker with a pivot.
Do SUMIFS formulas slow down Excel?
On everyday report sizes, no. On very large workbooks with thousands of SUMIFS over whole columns, recalculation can slow down, and a pivot table may be lighter.
Which should I use in an Excel job test?
Use what the task asks for. If it says 'summarize' with no method, a pivot table is usually fastest. If it asks for a total in a specific cell, or says the answer must update automatically, use SUMIFS.