Select a cell in your data, go to Insert › PivotTable, choose New Worksheet and click OK. Then drag fields into the Rows, Columns and Values areas to build your summary.

You have a long list of sales, expenses or survey answers and you need a quick summary: totals per region, counts per month, or averages per product. A pivot table lets you drag fields around and see the numbers change instantly, without writing a single formula.
Step by step
- Click any cell inside your data range. Make sure the range has headers in the first row and no completely blank rows or columns.
- Go to the Insert tab and click PivotTable. Excel selects the whole range for you; check the range in the Table/Range box and choose New Worksheet, then click OK.
- In the PivotTable Fields pane on the right, drag a field such as Region into the Rows area. The unique regions appear down the left side of the sheet.
- Drag a number field such as Sales into the Values area. Excel sums it by default and shows the total for each region.
- To add a second dimension, drag another field such as Month into the Columns area. You now have a cross-tab of sales by region and month.
- Use the drop-down arrows on row or column labels to sort or filter. To change Sum to Average or Count, right-click a value and choose Summarize Values By.
On a Mac: On a Mac, use the Data tab and click PivotTable, or press Command + Option + P.
Before and after
| A | B | C | |
|---|---|---|---|
| 1 | Region | Product | Sales |
| 2 | North | Pens | 120 |
| 3 | South | Pens | 80 |
| 4 | North | Pads | 200 |
| 5 | South | Pads | 150 |
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Region | Product | Sales | Row Labels | Sum of Sales | |
| 2 | North | Pens | 120 | North | 320 | |
| 3 | South | Pens | 80 | South | 230 | |
| 4 | North | Pads | 200 | Grand Total | 550 | |
| 5 | South | Pads | 150 |
With a formula instead
| Formula | Use it when |
|---|---|
=SUMIFS(C2:C5,A2:A5,"North") | You only need one fixed total and do not want to refresh a pivot table. |
=UNIQUE(A2:A5) | You just want the list of unique regions without any totals. |
Practise it
Free exercises with instant feedback. No sign-up needed.
Common mistakes
- The pivot table shows Count instead of Sum. The Values field contains text or blank cells. Right-click a value, choose Summarize Values By and pick Sum, or clean the data so the column is numeric.
- New rows added to the source data do not appear in the pivot table. Convert the source range to an Excel Table first (Ctrl + T), then create the pivot table from the table. Or right-click the pivot and choose Refresh after adding rows inside the original range.
- Fields are missing from the PivotTable Fields pane. The source range did not include all columns, or the headers are blank. Click the pivot table, go to PivotTable Analyze › Change Data Source and reselect the full range with headers.
Questions people also ask
How do I refresh a pivot table?
Right-click anywhere in the pivot table and choose Refresh, or press Alt + F5. If the source is an Excel Table, new rows are picked up automatically after a refresh.
Can I create a pivot chart from the same data?
Yes. Click inside the pivot table and go to Insert › PivotChart. The chart stays linked to the pivot table, so it updates when you change fields or refresh.
Why does my pivot table show blank rows?
Blank rows in the source data create a blank group. Filter them out in the source, or use the row label filter in the pivot table to hide blanks.
Functions used
Steps written for Excel for Microsoft 365 on Windows. All how-to guides