Pivot Tables for Beginners: Summarise Data Without Formulas
A pivot table turns a long list into a summary in a few clicks. Learn how to prepare your data, build your first table in Excel or Google Sheets, and avoid common mistakes.

- Start with a clean table with one header row and no blank rows
- Drag fields into Rows, Columns and Values
- Change Sum to Count or Average when you need to
- Refresh the pivot table after changing the source data
Imagine a sheet with 2,000 rows of sales. Your manager asks, "How much did each region sell last quarter, by product?" You could write dozens of formulas, or you could build a pivot table in under a minute. A pivot table summarises a list of data by grouping and totalling it, and you can rearrange it by dragging fields.
Both Microsoft Excel and Google Sheets include pivot tables. Microsoft has a support page on creating a PivotTable to analyse worksheet data, and Google has help pages on creating and customising pivot tables.
Prepare your data first
Pivot tables work best on a tidy list. Before you start:
- One header row with a unique name for each column.
- One record per row. Each row is one sale, one expense or one task.
- No blank rows or columns inside the data.
- No merged cells in the data range.
- Consistent values. "UK", "U.K." and "United Kingdom" will be treated as three different things.
- Dates stored as real dates, and numbers stored as numbers, not text.
In Excel, turning your range into a table first makes it easy to add rows later. In Sheets, selecting whole columns does the same.
Build your first pivot table
In Excel
- Click any cell in your data.
- Choose Insert, then PivotTable.
- Confirm the range and choose where to place the table. A new worksheet is a safe default.
- A field list appears. Drag fields into the Rows, Columns and Values areas.
Microsoft's support page walks through these steps and also describes recommended PivotTables that Excel suggests for your data.
In Google Sheets
- Select your data, including headers.
- Choose Insert, then Pivot table.
- Choose a new sheet or an existing one.
- In the editor on the right, add Rows, Columns and Values.
Google's help page on customising a pivot table describes the options in the editor, including how to sort, filter and change how values are summarised.
The four areas explained
- Rows: categories listed down the left, for example Region.
- Columns: categories across the top, for example Quarter.
- Values: the numbers to summarise, for example Revenue.
- Filters: a way to limit the whole table, for example to one year.
Try this: put Region in Rows, Product in Columns and Revenue in Values. You now have a grid of revenue by region and product.
Change how values are summarised
By default, numbers are summed. You can change this to count rows, average, minimum, maximum and so on. For example, setting the value to Count of Order ID shows how many orders each region had, instead of how much revenue. Use the value field settings in Excel, or the Summarize by menu in Sheets.
Group dates
Daily data is too detailed for a monthly report. Both programs let you group dates into months, quarters or years. Right-click a date in the Rows area and look for a group option, or check the editor settings.
Keep it up to date
A pivot table does not always update automatically when the source data changes. Refresh it. In Excel, use the Refresh button on the PivotTable Analyze tab. If you add new rows beyond the original range, update the source range, or use a table so that it grows automatically.
Common problems
- Counts instead of sums. If Excel shows Count of Revenue, some cells in the column are text or blank. Fix the data, and refresh.
- Duplicate-looking categories. Trailing spaces and spelling differences cause this. Clean the source data.
- Missing new rows. The source range did not expand. Update it.
- Overwritten results. You cannot type over a pivot table's values. Copy the results to another sheet if you want to edit them.
When to use SUMIFS instead
If you need one number that feeds into a report, a formula such as SUMIFS can be more precise and shows up in a single cell. Pivot tables are better for exploring and summarising. Many people use both.
Present it clearly
- Give the pivot table a meaningful title above it.
- Format numbers with thousands separators and the right currency or decimals.
- Sort the largest items to the top.
- Avoid copying the pivot table into a presentation without checking that it shows the right filter.
Practice
Download or build a small data set of 30 to 50 rows, such as expenses with Date, Category, Amount and Person. Build a pivot table showing total by category, then by person, then by month. If you can answer a question in under a minute that would take half an hour by hand, you have got the idea.
The short version
Clean the data, drag fields into Rows, Columns and Values, pick Sum, Count or Average, and refresh when the data changes. Pivot tables turn long lists into answers.
Sources and further reading
How this page was made: drafted with the help of an AI writing assistant, then checked against the sources above. Software menus and policies change, so check the linked pages for the current version. Read our editorial policy or report a mistake.