How to create a pivot table in Google Sheets

A pivot table lets you group and summarise spreadsheet data, such as totals by region, without writing formulas. This guide suits anyone with a Google account and a sheet of data. You only need a browser and a few minutes.

YouTube video: How to Create a Pivot Table in Google Sheets 📊 #tutorial

Captions are available. Use CC in the YouTube player.

Other videos for this task

Video length
1 min 10 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Open your spreadsheet in Google Sheets and click a cell inside the data you want to analyse.

  2. In the menu bar, click Insert, then Pivot table.

  3. In the panel that opens, check the data range. Choose New sheet or Existing sheet, then click Create.

  4. In the Pivot table editor on the right, click Add next to Rows and pick a field such as Region.

  5. Click Add next to Values and pick the number field you want to total, such as Totals.

  6. Check that Summarise by is set to SUM so the values are added up. Change it to COUNT or AVERAGE if that fits better.

  7. Add a filter or a column field in the editor to break the data down further.

  8. Select the cells of the pivot table, click Insert, then Chart, and pick a column chart to show the results.

Tips and common mistakes

Keep your source data clean, with one header row and no blank rows, or fields may be grouped wrongly.

If a value shows a count instead of a sum, open the field in the editor and change Summarise by to SUM.

Pivot tables do not update automatically when you edit the source data. Refresh or rebuild the table after big changes.

Questions

Does a pivot table change my original data?

No. The pivot table is built on a separate sheet or area and only reads the source range. Your raw data stays as it is.

Can I add more than one row field?

Yes. Click Add next to Rows again and pick another field to group the data in nested levels.

Why are my numbers showing as text?

The source column probably contains text or blank cells. Clean the column so it holds only numbers, then rebuild the pivot table.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all