How To Create, Edit and Refresh Pivot Tables in Google Sheets (2024)

Spreadsheets are a great way for data geeks to organize, display, and analyze information, but for “the rest of us” they can sometimes be a bit baffling. Pivot tables are an exceptionally powerful tool within spreadsheets for presenting data, but they can be very confusing for novice users, particularly when you consider that the interfaces for creating the tables pretty much assume you already know everything there is to know about them. If, like me, this is not the case for you, then hopefully you will find this article informative and helpful. I will present a basic tutorial on creating, editing, and refreshing pivot tables in Google Sheets.

How To Create, Edit and Refresh Pivot Tables in Google Sheets (1)

First, let’s talk about what a pivot table is. A pivot table summarizes the data from another table by performing some kind of manipulation on the original data (such as summing, counting, or averaging), and then groups the summarized data in a useful way. That definition was probably not terribly helpful if you don’t already know how all of this works. I wrote it, and I’m still confused myself. Instead of trying to define it, let’s create a data table and then build a pivot table based on it, so that we can more clearly understand how this concept works.

Let’s say we have a real estate office, and we sold a number of houses last year in a few different neighborhoods. So we would like to create a table of how much money each house sold for. Here’s our table (obviously just a short version, as a real table would have a lot more data, but let’s keep it simple):

How To Create, Edit and Refresh Pivot Tables in Google Sheets (2)

We’d like to take this information and figure out which neighborhoods have the highest average sale prices. We could do it by hand, and it would be easy for this little table, but imagine if we had hundreds of sales to look at. So how do we easily turn this sales information into a useful pivot table that will show us the average sales price by neighborhood?

Create pivot tables in Google Sheets

  1. Select all the data (including the headers) by selecting the bottom- right corner cell and pressing Ctrl + A.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (3)
  2. Select Data and then Pivot tables from the menu.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (4)
  3. Google Sheets will create a new sheet with a blank grid.
  4. Select which rows, columns, values, and filters to use from the right menu. Note that Sheets suggests a pre-made table for us; in fact, it’s exactly what we want! Select “Average of Sale Price for Each Neighborhood”.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (5)

And here it is!

How To Create, Edit and Refresh Pivot Tables in Google Sheets (6)

Google Sheets will now show the corresponding data in the pivot table. You can select any kind of dataset you like and create results as Grand Totals. You can compare instances, values, how many times a value appears, SUMs, and more, all by selecting the type of report in the right pane. Just click inside the pivot table to bring up the reporting pane, and play with the values there, and you can see all the different ways that you can configure your tables. We can easily make this table show us the minimum or maximum sales price in a neighborhood, or how many houses sold per neighborhood, or any of a number of other ways to visualize the data.

What if we want to change our pivot table?

Edit pivot tables in Google Docs

You can edit a pivot table just like you would any other spreadsheet. You just have to edit the data being used in a particular field for it to be reflected in the table.

  1. Open the Google Sheet with data being used by the pivot table.
  2. Edit the data you need to change as required.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (7)
  3. The pivot table will automatically update.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (8)

It’s important not to change the data within the pivot table itself as this will corrupt the table, and then you’ll need to start the entire process over again. You only need to modify the data within the sheet being used by the table. The table takes care of itself.

Refresh a pivot table in Google Sheets

You don’t usually need to manually refresh a pivot table in Google Sheets. When you update the data being pulled by the table, the pivot table should dynamically update. No user action is needed to refresh the table.

There may be times when this doesn’t happen correctly and that is usually because you have a filter running on the table.

  1. Open the Google Sheet with the pivot table.
  2. Select a column header so the Report editor menu appears on the right.
  3. Check the filter field for each column to make sure there are none. You should see ‘Add field’ by the Filter heading if there are no filters running.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (9)

If there are filters, select the little gray ‘X’ on the right of the window to remove them. You can always bring them back should you need to.

Add a chart to a pivot table in Google Sheets

As well as collating data in a pivot table to display data in a usable way, you can also use charts as a graphic demonstration of your findings. Here’s how to integrate a chart into a pivot table.

  1. Open the Google Sheet with the pivot table.
  2. Select all columns you want to include in the chart.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (10)
  3. Select Insert and Chart.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (11)
  4. Select the chart type and edit colors, the legend, and whatever aspects you need to change.
    How To Create, Edit and Refresh Pivot Tables in Google Sheets (12)

The chart appears immediately, and like the table, will dynamically update as you change the core data. Now you not only have a cool pivot table to impress your boss, but some pretty looking charts too! And now all of your coworkers will ask you how you did it and if you can do it for them, so maybe keep a flyswatter on hand.

Got any other pivot table tips to share? Tell us about them below if you do.

Related Posts

How To Use Tables in NotionHow to Create a Calendar in Google SheetsHow to Set a Monitor to a 144 Hz Refresh RateWhat Is Background App Refresh?How to Add the CAGR Formula to Google Sheets SpreadsheetsHow to Get Absolute Value in Google SheetsHow To Calculate p-Value in Google SheetsHow to Convert Rows to Columns in Google Sheets

As someone deeply immersed in the realm of data analysis and spreadsheet manipulation, I can attest to the transformative power of pivot tables in Google Sheets. With a robust understanding of the intricacies involved, I aim to demystify the process for those who may find themselves bewildered by this powerful tool.

Understanding Pivot Tables:

A pivot table is a dynamic tool for summarizing and analyzing data in a spreadsheet. It works by performing operations on the original data, such as summing, counting, or averaging, and then organizes the summarized data in a way that is insightful and user-friendly. The complexity of pivot tables often deters novice users, but with the right guidance, anyone can leverage their potential.

Creating Pivot Tables in Google Sheets:

  1. Selecting Data:

    • To initiate the process, select all relevant data, including headers, by pressing Ctrl + A.
  2. Accessing Pivot Tables:

    • Navigate to the "Data" menu and choose "Pivot tables."
  3. Configuring the Pivot Table:

    • Google Sheets often suggests a pre-made table based on your data. Select the appropriate option, such as "Average of Sale Price for Each Neighborhood."
  4. Result:

    • Google Sheets will generate a pivot table reflecting the chosen data manipulation, providing valuable insights.

Editing and Refreshing Pivot Tables:

  • Editing:

    • Modify the data in the original sheet used by the pivot table to see instant updates. Avoid altering data directly within the pivot table to prevent corruption.
  • Refreshing:

    • Normally, Google Sheets automatically refreshes pivot tables when underlying data changes. If issues arise, check for filters and ensure dynamic updates.

Adding Charts to Pivot Tables:

  • Integration:
    • Enhance the visual representation of your findings by integrating charts into pivot tables.
  1. Select Columns:

    • Choose the columns you want to include in the chart.
  2. Insert Chart:

    • Under the "Insert" menu, select "Chart."
  3. Customization:

    • Customize the chart type, colors, and other aspects to suit your preferences.
  4. Dynamic Updates:

    • Like the pivot table, the chart dynamically updates as core data changes.

Tips for Effective Pivot Table Usage:

  • Avoid Manual Refresh:

    • In most cases, manual refreshing isn’t necessary; let Google Sheets dynamically update the pivot table when data changes.
  • Handle Filters:

    • If issues persist, check for filters on columns and remove them if needed.

In conclusion, pivot tables in Google Sheets offer a potent means of extracting meaningful insights from data. By mastering their creation, manipulation, and integration with charts, users can unlock a wealth of analytical capabilities. Feel free to share your own pivot table tips and experiences in the comments below.

How To Create, Edit and Refresh Pivot Tables in Google Sheets (2024)

References

Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 5412

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.