Make a pivot table in Google Sheets (2026)

4 min read

What you’ll have at the end

A pivot table in your Google Sheets spreadsheet, built from a table of your own data. Google's help says you can use a pivot table to narrow down a large data set and to see relationships between data points.

For example, Google's help says you could use a pivot table to analyze which salesperson produced the most revenue for a specific month.

Before you start

You’ll need

  • A Google Sheets spreadsheet with your data in a table
  • A header in each column of the table
  • A decision on what to group by (the rows) and what to show for each group (the values)

What it costs. Google's help pages on pivot tables list no charge.

Please have a spreadsheet open with your data laid out as a table. Google's help says each column needs a header.

Please decide two things first: - What to group the data by. These become your rows, or your columns. - What to show for each group. These become your values.

This guide uses Google Sheets in a web browser on a computer.

Following steps from somewhere else? You’re welcome to bring them here.

Steps

  1. 1. Open your spreadsheet

    On your computer, open a spreadsheet in Google Sheets.

  2. 2. Select the cells with your data

    Select the cells that hold the data you'd like to use. Include the header row. Google's help says each column needs a header.

  3. 3. Click Insert, then Pivot table

    In the menu at the top, click Insert, and then click Pivot table. Google's help says to click the pivot table sheet if it's not already open.

  4. 4. Add your rows

    In the side panel, next to Rows, click Add, and then choose a value.

  5. 5. Add your columns, if you'd like to

    This step is optional. Next to Columns, click Add, and then choose a value.

  6. 6. Add your values

    Next to Values, click Add. Then choose the value you'd like to see over your rows or columns.

  7. 7. Sort and order your data, if you'd like to

    This step is optional. If the side panel isn't open, click the pop-up Edit button underneath the pivot table. Under Rows or Columns, click the arrow under Order or Sort by.

  8. 8. Show totals, if you'd like to

    This step is optional. Under Rows or Columns, check Show totals to show the totals of a row or column.

  9. 9. Filter your data, if you'd like to

    This step is optional. In the side panel, next to Filters, click Add, and then choose an option. Next to "Showing all items", click the Down arrow. Then choose Filter by condition, or Filter by values. This guide ends here.

If something looks different

  • Google's help says you may see recommended pivot tables under Suggested, based on the data you choose. It says high confidence suggestions are inserted automatically when the pivot table is created. To turn suggestions off, click Tools, then Suggestion controls, and turn off Enable Pivot table suggestions.
  • Google's help says you can change how your data is listed, sorted, summarized or filtered by clicking the Down arrow next to the item you'd like to change.
  • To show a value as a percentage of a whole, Google's help says to click Edit under the pivot table, then click Default under "Show as" in Values, and choose an option.
  • With Filter by condition, Google's help says you can write your own condition or choose one from the list. With Filter by values, you uncheck the items you'd like to hide and click OK.
  • Google's help says that if you filter by value and then update your source data, you'll need to update the pivot table filter to show the new values.
  • Google's help says you can rename the header of a row or column by clicking its name and entering a new one. You can't rename "Grand Total".
  • To change the pivot table later, Google's help says to click the pop-up Edit button underneath it.