How to Create Pivot Charts in Google Sheets (Step-by-Step Guide)

Unlike Microsoft Excel, Google Sheets does not have a dedicated “PivotChart” menu option. Instead, you must first create a pivot table and then generate a chart from it, just like a regular graph.

Introduction to Pivot Charts in Google Sheets

Charts are graphical representations of data, and pivot charts are no exception. However, instead of using raw data, pivot charts are created from a pivot table.

Pivot tables help summarize large datasets without requiring complex formulas. A pivot chart visually represents the pivot table, allowing you to identify trends, comparisons, and patterns easily. Mastering pivot charts in Google Sheets is essential for creating dynamic and interactive dashboards.

How to Create Pivot Charts in Google Sheets

Pivot charts cannot be created directly from a pivot table if it contains subtotal and grand total rows. The solution is to duplicate the pivot table and remove those total rows.

In this tutorial, we will use the following sample data:

MonthExpensesAmount
JanGrocery100
JanStationery500
JanRepair100
JanLoan500
JanFuel400
JanFuel300
FebGrocery100
FebStationery200
FebRepair300
FebLoan400

Step 1: Creating the Pivot Table

  1. Select the range A1:C (your dataset).
  2. Click Insert > Pivot table.
  3. In the window that appears, select Existing Sheet and choose an empty cell (e.g., E1).
  4. Click Create.
  5. In the Pivot Table Editor (sidebar), set up the pivot table as follows:
    • Drag Expenses under Rows.
    • Drag Month under Columns.
    • Drag Amount under Values.
    • Add Expenses under Filters and apply the filter:
      • Select Filter by Condition > Is Not Equal To.
      • Enter the formula: =""

This will create a structured pivot table.

Sample data and pivot table in Google Sheets

Step 2: Duplicating the Pivot Table

To create a pivot chart, we need to work with a modified version of the pivot table.

  1. Copy the pivot table from E1.
  2. Paste it into S1 (in a distant column to allow for future expansion).
  3. Remove grand total row and column:
    • Click the Edit (pencil) icon on the new pivot table.
    • Uncheck “Show Totals” in the Pivot Editor.
Removing grand totals from the duplicate pivot table in Google Sheets

Step 3: Adding Dummy Field Labels

Google Sheets allows dynamic row expansion in charts but not dynamic column expansion. To ensure our pivot chart remains adaptable, add dummy headers before creating the chart:

  • Enter placeholder labels in V2 and M2 (or more, depending on expected future columns). We will delete them later.
Adding dummy field labels to enable dynamic pivot charts in Google Sheets

Now, the dataset is ready for chart creation.

Step 4: Creating the Pivot Chart

  1. Select the range S2:W20 (including extra rows and columns for future data).
  2. Click Insert > Chart.
  3. In the Chart Editor, check “Row 2 as headers”.
  4. Remove the dummy headers after confirming the chart is working.
  5. Add new data in A2:C—the pivot chart will update automatically!

Now you have a fully dynamic pivot chart in Google Sheets!

Example of a dynamic pivot chart in Google Sheets

FAQs

Can I hide the duplicate pivot table?

Yes! Right-click the column letter and select Hide column to keep your sheet clean.

⚠️ You may see a “Data in hidden columns is excluded from the chart” warning. Click “Include Hidden/Filtered Data” in the Chart Editor under the Setup tab.

What chart types are supported in Google Sheets’ pivot charts?

There are no restrictions! You can use any chart type, including:

  • Column Chart
  • Bar Chart
  • Pie Chart
  • Line Chart
  • Scatter Chart

Can I create a pivot chart without a duplicate pivot table?

Yes, you can use the QUERY function to generate a pivot table dynamically. However, this method requires familiarity with the QUERY function.

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

How to Break RANK Ties Alphabetically in Google Sheets

The RANK function in Google Sheets is commonly used to assign rankings to numerical...

Google Sheets: Highlight an Entire Column If Any Cell Has an Error

Google Sheets allows you to highlight an entire column if any cell has an...

Filter Top N per Category in Excel (Using FILTER & COUNTIFS)

You can use a combination of FILTER and COUNTIFS to filter the top N...

Rank per Group in Excel

You have two groups of 20 students each. How do you determine the rank...

More like this

How to Break RANK Ties Alphabetically in Google Sheets

The RANK function in Google Sheets is commonly used to assign rankings to numerical...

Google Sheets: Highlight an Entire Column If Any Cell Has an Error

Google Sheets allows you to highlight an entire column if any cell has an...

Google Sheets: Extract Top N per Group from Query Aggregation

When working with grouped and aggregated data in Google Sheets, you might need to...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.