Google Sheets Pivot Table: Build Your First Summary

On a computer, select your data and its column headings in Google Sheets, then choose Insert > Pivot table. Add the category you want to group to Rows and the amount to Values, then check Summarize by.

For example, a sales list can become a total for each product without changing the original records. You'll need a computer browser because the phone apps don't let you create pivot tables.

Choose the records and give every column a heading

Check the original list in your Sheets file. Each column needs a header. Use labels that explain the contents, such as Product, Region, and Amount, so the editor's field choices make sense.

Select the rectangular range containing those headings and the records. Include all the columns you need for grouping, calculations, or filtering. If you leave a column out of the selection, you won't be able to choose it in the report.

Google says each source column needs a heading in its pivot-table instructions. You don't have to convert that range into a named Sheets table before making a pivot table.

Drawing of the Google Sheets Insert menu with Pivot table highlighted

A regular Google Sheets table organizes the original records with types and formatting. A pivot table creates a summary from records. Choose a pivot table when you need totals by product, region, person, or another category.

Keep a separate grand-total row out of the source records. Otherwise, you can end up summarizing a total alongside the transactions that already produced it. Decide what one source row represents before you build the report.

Insert the pivot and add the grouping field

With the source cells selected, choose Insert > Pivot table. Choose New Sheet for a separate report tab, then click Create. Open the resulting pivot sheet if it isn't selected. The report's editor appears in a side panel.

Next to Rows, click Add and select the field whose repeated entries should be grouped together. For product totals, that would be the product field. Each different label becomes a row category in your report.

The label list by itself isn't the finished calculation. It tells Sheets how to group the data; you'll add a numeric field under Values to say what each group should summarize.

Some spreadsheets show suggested pivots based on the selected data. Check the fields in any suggested report instead of assuming it answers your question. Counting products and adding sales amounts produce different answers.

If suggestions get in the way, open Tools > Suggestion controls and turn off Enable Pivot table suggestions. That turns off the suggestions and keeps your original records and the report you've built.

Add the amount and check the calculation

In the side panel, use Values > Add and choose the amount or measurement you want to calculate. Review Summarize by for that field. Use SUM when you want the numbers added together.

Drawing of the Google Sheets pivot editor with Add controls beside Rows and Values numbered

Counting reports the number of recorded product values; summing adds their amounts together. Check the calculation label if the result seems much smaller than expected.

Compare one category with its original records before using the report for a decision. A simple group that you can add by hand makes a useful check of the selected range and calculation.

I'd do that before adding several more fields. With just one grouping and calculation, a wrong amount field or missing source records are easier to spot.

For another view across the same records, add a field under Columns. For example, a region field can split each product's total across regions. Use it when the comparison helps; otherwise, you can leave Columns empty.

The editor lets you move a field by dragging it to a different category. To remove an unwanted field, use its Remove control. That removes the field from the summary without deleting that column's source records.

Sort the totals and narrow the report with filters

Click the report's pop-up Edit button to reopen its editor if necessary. Under Rows or Columns, use Order and Sort by to arrange the categories by their names or summarized values.

Use an amount-based sort when the practical question is which category contributes the most. An alphabetical sort is easier when readers need to find a particular product or person quickly.

To display row or column totals, select Show totals for the relevant field. Check whether those totals are useful for the comparison you're making, especially after adding more than one grouping.

In the editor, use Filters > Add and select the field to restrict. A filter can narrow a sales report to a region while keeping the original source list available for other reports.

Review filters whenever a category appears missing. A filter can hide a category even when its records are in your source list. Adding those records again would give you unwanted copies.

Filters based on selected values may need updating when you add new values to the source list. Reopen that filter and check its included items after a new region or product doesn't appear where expected.

Expand the source when new records aren't included

A pivot table refreshes when the source cells it uses change. That doesn't mean every new row elsewhere in the spreadsheet automatically belongs to its source range.

Click Edit under the report and use Select data range in the side panel to inspect the range. Expand it to include the new records and their needed columns, then check the summary again.

Changing an existing amount inside the range and adding a row outside the range are different operations. The first already belongs to the report. The second needs a source range that includes it.

If totals are too high, check the records before changing the calculation. Removing duplicate rows is appropriate only when they're unwanted copies. Several purchases by the same customer can be valid separate records.

To see what contributes to a figure, open the pivot editor and double-click the figure you're checking. Sheets creates a new sheet containing that cell's source rows. Compare those rows with the result you expected.

Correct the report or ask for help with a small example

For an empty or unexpected summary, check the range, grouping, Values calculation and filters. Inspect the source amounts too: imported numbers can be stored as text, or entries may be inconsistent.

Keep the first report simple while correcting it. One category and one amount are enough to show whether the basic calculation works. Add the extra grouping and filters back once the simple report gives the result you expect.

If the totals still disagree, ask the Google Docs Editors community to check a sample without private information. Include the range, Rows and Values fields, calculation and expected result. Remove private sales and customer records.

The Short Version

Select your data and its column headings, insert the pivot, and add the grouping to Rows and the amount to Values. Check SUM, filters, and the selected data range. Double-click a result to inspect the records contributing to it.

Checked December 3, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment