Formula Fixer

Pivot Tables in Excel and Google Sheets: A Beginner's Guide With Examples

Updated 2026-11-03

TL;DR: A pivot table turns a long list of rows into a summary, such as total spending per category or sales per month, without writing formulas. In Excel select your data and choose Insert > PivotTable; in Google Sheets choose Insert > Pivot table. Then drag fields into Rows, Columns, Values and Filters. Excel pivot tables need a Refresh after the data changes, while Google Sheets updates them automatically.

If you've ever filtered a list over and over to add up 'how much per person' or 'how much per month', a pivot table does that in a few clicks.

Start with clean data

Example data: a list of holiday purchases with columns Date, Person, Category, Shop and Amount, like the one in our Christmas budget tracker.

Make a pivot table in Excel

  1. Click any cell in the data.
  2. Go to Insert > PivotTable (choose From Table/Range if asked).
  3. Check the range and choose New Worksheet, then click OK.
  4. In the PivotTable Fields pane, drag Person to Rows and Amount to Values.
  5. You now have total spending per person. Drag Category to Columns for a person-by-category grid.

Make a pivot table in Google Sheets

  1. Select the data, including the headers.
  2. Go to Insert > Pivot table, choose New sheet and click Create.
  3. In the editor on the right, click Add next to Rows and pick Person.
  4. Click Add next to Values and pick Amount (summarise by SUM).
  5. Add Category to Columns if you want the grid.

The four areas, in plain English

AreaWhat it doesExample
RowsOne line per unique itemEach person
ColumnsOne column per unique itemEach category
ValuesThe number to calculateSum of Amount
FiltersLimit what is countedOnly December

Useful tricks

Refreshing

In Excel, a pivot table doesn't update by itself. After you change the source data, click inside it and choose PivotTable Analyze > Refresh (or Data > Refresh All). In Google Sheets, pivot tables update automatically when the source data changes.

Common mistakes

Pivot table or formula?

For a fixed report that must look the same every time, SUMIFS and COUNTIFS or the FILTER function can be easier to format. For exploring data and answering questions quickly, a pivot table wins.

Quick FAQ

What is a pivot table used for? Summarising a big list, such as totals, counts or averages by category, person or month, without writing formulas.

Does Google Sheets have pivot tables? Yes: Insert > Pivot table. They work like Excel's and update automatically.

Why isn't my Excel pivot table updating? Excel pivot tables need a manual Refresh (PivotTable Analyze > Refresh) after the source data changes.

Sources: Microsoft Support: Create a PivotTable to analyze worksheet data; Google Docs Editors Help: Create and use pivot tables.

← More guides