How to Use Excel PivotTables: Summarise Data Without Writing Formulas
Learn how to use Excel PivotTables to summarise thousands of rows without formulas: prepare your data, build the table, change calculations, and refresh it.
By Galactic News Editorial · Published 2026-11-27T02:13:44+00:00 · Updated 2026-11-27T02:13:44+00:00
A PivotTable turns a long list of rows into a short summary table that you can rearrange in seconds. You do not write a single formula, because Excel adds up, counts, or averages the numbers for you. If you have ever built a summary with SUMIFS and a helper column, a PivotTable does the same job faster, and it updates when your data changes. This guide shows you how to use Excel PivotTables, from tidy source data to a finished summary.
What a PivotTable Does
A PivotTable is a tool to calculate, summarise, and analyse data, so you can see comparisons, patterns, and trends. You give it a table of rows, such as sales records, and it groups those rows for you: total sales by month, orders by region, or average spend by customer type. Drag a field to a different place and the summary rebuilds at once. That is the "pivot" in the name. The source rows never change, so you can experiment without risk.
PivotTables work a little differently depending on the platform, but the steps below cover Excel for Windows, which is where most people use them. Excel for the web and Excel for Mac follow the same flow with small differences in the menus.
How to Use Excel PivotTables: Prepare Your Data First
Most PivotTable problems come from the source data, not from the PivotTable. Microsoft asks for clean, tabular data, organised in columns rather than rows. Check these rules before you insert anything.
- One header row only. Every column needs a unique, non-blank label. Those labels become the field names.
- No blank rows or columns inside the data. Blank cells inside a column are fine, but a blank row splits the range.
- No merged cells in the header or the data.
- One data type per column. Do not mix numbers and text in a column you plan to add up, or Excel will count the values instead of summing them.
- Dates as real dates. A column of text that looks like dates will not group by month.
Next, turn the range into an Excel table. Click any cell in your data, press Ctrl + T, make sure My table has headers is checked, and click OK. This matters if you add rows later. A table grows automatically, so the PivotTable includes the new rows the next time you refresh it. If your data is complex or nested, Microsoft points to Power Query, which can reshape it so it has a single header row.
Create Your First PivotTable
With tidy data, the whole job takes six clicks.
- Click any cell inside your data, or select the cells you want to use.
- Open the Insert tab and select PivotTable. In Microsoft 365, the button may open a small menu; choose From Table/Range.
- Check that the table or range shown in the dialog is the one you want.
- Choose New Worksheet, or choose Existing Worksheet and pick a cell for the top-left corner.
- Select OK.
- In the PivotTable Fields pane, tick the fields you want to summarise.
Excel opens a new sheet with an empty PivotTable on the left and the PivotTable Fields pane on the right. The bottom half of the pane has four areas, and you build the report by dragging field names into them.
| Area | What it does | Example |
|---|---|---|
| Filters | Filters the whole report | Show only one region |
| Columns | Spreads values across the top | Months as column headings |
| Rows | Lists values down the side | One row per product |
| Values | Adds up or counts the numbers | Total sales revenue |
Ticking a field box places it for you. Excel sends non-numeric fields to Rows, date and time hierarchies to Columns, and numeric fields to Values. Try a first layout: drag a product field into Rows and a sales amount into Values. You should see one row per product with its total. Drag a month field into Columns and the same totals split by month.
Change the Calculation and Format the Results
By default, fields placed in the Values area show as a SUM. If Excel reads a field as text, it shows COUNT instead, which is why the one-data-type rule matters. To change the calculation, click the arrow next to the field name in the Values area and choose Value Field Settings. Under Summarize Values By, pick Sum, Count, Average, Max, Min, or another option.
Two settings are worth knowing. First, Show Values As displays a value as a percentage instead of a sum, for example as a percentage of the grand total, which is the fastest way to see each product's share. Second, you can drag the same field into Values twice and set a different calculation for each copy, so one column shows the total and the next shows the percentage.
To change the number format, open Value Field Settings and click Number Format. Set currency, percentages, or decimal places for the whole field at once. One tip from Microsoft: do not rename your fields until you finish setting up the PivotTable, because changing the calculation changes the field name, and your custom name will be overwritten.
Refresh and Keep the Summary Current
A PivotTable does not update itself when the source data changes. It stores a snapshot, and you refresh it when you are ready. To refresh one PivotTable, right-click anywhere in it and select Refresh. To refresh every PivotTable in the workbook, go to PivotTable Analyze, click the arrow under Refresh, and select Refresh All.
If your source is an Excel table, new rows are included automatically on refresh. If the source is a plain range, new rows fall outside it, and you will need to change the source data range first. This is the main reason to format the source as a table before you start.
Common Mistakes and Quick Fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Values show as Count, not Sum | Text mixed into a numeric column | Clean the column so every cell holds a number |
| New rows do not appear | Source is a plain range, or the table was not refreshed | Format the source as a table and click Refresh |
| Dates will not group by month | Dates stored as text | Convert the column to a real date format |
| Blank rows in the summary | Blank cells in a row field | Fill or filter out the blanks in the source |
| Field names look wrong | Missing or duplicate headers | Give every column a unique, non-blank label |
Once the basics work, two extras make summaries easier to read. Slicers add clickable filter buttons, so anyone can filter the report without touching the Fields pane. A PivotChart turns the same summary into a chart that updates with the table. Both sit on the Insert and PivotTable Analyze tabs, and both are worth trying once your first summary is working.
Bottom line: Tidy the data, press Ctrl + T, then Insert > PivotTable and drag fields into Rows and Values. Change the calculation in Value Field Settings, and refresh when the data changes. That is the whole skill. Everything else — grouping, filtering, percentages — is a variation on the same four boxes.