Quickly Create a Pivot Chart in Excel
To create a pivot chart in Excel, follow these steps:
- Select any cell inside your data set.
- Go to the Insert tab and click Pivot Chart in the Charts group.
- In the dialog box, confirm the data range and choose where to place the chart.
- Click OK to insert a blank pivot table and pivot chart.
- Drag fields into the Axis, Legend, and Values areas to build your chart.
A pivot chart is one of the best ways to present your data in Excel. Why do I say that? Showing data visually doesn't just help your reader understand it; it also helps you make your point clearly and with far less effort.
Excel gives you plenty of charts to work with, but there's one that stands out from the rest, and that's the pivot chart. If you're serious about taking your data visualization skills to the next level, this is the one to learn.
So what exactly is it? A pivot chart is a chart built on top of a pivot table. Instead of plotting a fixed range of cells like a normal chart, it summarizes your data and updates automatically whenever your pivot table changes, making it perfect for analyzing large data sets and presenting reports.
In this guide, I'll walk you through everything you need to know to understand how a pivot chart works and how to create one. Let's get started.
Difference Between a Pivot Chart and a Normal Chart
Before you start, let me clear up something that confuses a lot of people. A normal chart and a pivot chart look similar, but they work in completely different ways. Here's the simplest way to think about it.
What to Compare | Normal Chart | Pivot Chart |
|---|---|---|
Data source | Plots a fixed range of cells you select. | Built on data summarized in a pivot table. |
Dynamic or static | Static by default — you set it up to make it dynamic. | Dynamic out of the box; updates as the pivot table changes. |
Filtering | You filter manually by editing the source range. | Built-in field buttons, plus slicers and timelines. |
Rearranging data | You rebuild the chart to change the view. | Drag fields on the fly to reshape it instantly. |
Best for | Small, fixed datasets where the view rarely changes. | Large datasets where you summarize and drill down. |
Setup effort | Quick for a few rows of data. | Needs a pivot table first, but saves time on big data. |
When to use which: If you have a small table and a fixed view, a normal chart does the job. But the moment your data is large, or you want to filter, summarize, and explore it from different angles, a pivot chart is the better choice every single time.
Steps to Create a Pivot Chart in Excel
You can create a pivot chart in two ways. One is to add a pivot chart to an existing pivot table, and the other is to create one from scratch. Let me show you both, step by step.
1. Create a Pivot Chart from Scratch
Creating a pivot chart from scratch is as simple as creating a pivot table. All you need is a data set. Here, I'm using Excel 365.
- Select any of the cells in your data, then go to the Insert Tab → Charts → Pivot Chart.
- In the dialog box, Excel automatically selects your entire data range, and you choose where to place the chart — a new worksheet or the existing one.
- Click OK.
- Now you have a blank pivot table and a blank pivot chart in a new worksheet.
- In the pivot chart fields pane, you get the same four components you have in a pivot table:
- Axis — the same as the rows in your pivot table.
- Legend — the same as the columns in your pivot table.
- Values — here, I'm using quantity as the values.
- Filters — use this area to filter the entire pivot chart.
- And here's your fully dynamic pivot chart, ready to go.
2. Create a Pivot Chart from the Existing Pivot Table
If you already have a pivot table in your worksheet, you can insert a pivot chart with these simple steps.
- Select any of the cells from your pivot table.
- Go to the Insert Tab → Charts → Pivot Chart, and select the chart type you want to use.
- Click OK.
Excel inserts a new pivot chart in the same worksheet as your pivot table. It uses the pivot table rows as the axis and the columns as the legend.
More Information about Pivot Charts
Managing a pivot chart is simple, and here's some information that will help you do it smoothly.
1. Change Chart Type
When you create a new pivot chart, you pick the chart type up front. But if you want to change the chart type later, here are the steps for that.
- Select your pivot chart and go to the Design Tab → Type → Change Chart Type.
- Select your favorite chart type.
- Click OK.
2. Refresh a Pivot Chart
Refreshing a pivot chart is just like refreshing a pivot table. If your pivot table refreshes automatically, your pivot chart will update along with it.
Method 1 — Refresh on file open
- Right-click on your chart, then click PivotChart Options.
- Go to the Data tab, tick "Refresh data when opening the file", and click OK.
Method 2 — Refresh with VBA
Use the below VBA code to refresh all the pivot tables and pivot charts in your workbook when the file opens.
Sub auto_open()
Dim PC As PivotCache
For Each PC In ActiveWorkbook.PivotCaches
PC.Refresh
Next PC
End SubAnd if you only want to refresh one particular pivot chart, use this code instead. Replace "Chart 5" with your chart's name.
Sub refresh_single_pivot_chart()
ActiveSheet.ChartObjects("Chart 5").Activate
ActiveChart.PivotLayout.PivotTable.PivotCache.Refresh
End Sub3. Filter a Pivot Chart
Just like a pivot table, you can filter your pivot chart to show specific values. A pivot table and its pivot chart are connected to each other.
So when you filter the pivot table, the chart filters automatically — and when you add a filter to the chart, it applies to the pivot table too, and vice versa. Follow these steps.
- Right-click on your pivot chart and click "Show Field List".
- In the pivot chart field list, drag fields into the filter area.
4. Show Running Total in a Pivot Chart
In the pivot chart below, I've used a running total to show the growth throughout the period.
Adding a running total in a pivot chart is just like adding a running total in a pivot table. But we need a few simple changes in the chart formatting.
- From your pivot chart field list, drag your value field into the Values area twice.
- In the second value field, open "Value Field Settings".
- Go to the "Show Values As" tab and select Running Total from the drop-down.
- Click OK. Your pivot chart now shows the running total, with one more step to make it perfect.
- Select your primary axis and adjust its values to match your secondary axis.
5. Move a Pivot Chart to a New Sheet
Like a standard chart, you can move your Excel pivot chart to a chart sheet or any other worksheet. To move your pivot chart:
- Select your chart and right-click on it.
- Click Move Chart, and you'll get a pop-up window.
- Select the desired option and click OK.
You can also move your chart back to the original sheet using the same steps.
Extra Tips on Pivot Charts
Some extra tips to give you better control over your pivot charts.
1. Using a Slicer with a Pivot Chart to Filter
As I've already mentioned, you can use a slicer with your pivot chart.
And the best part is that you can filter multiple pivot tables and pivot charts with a single slicer. Follow these steps.
- Select your pivot chart and go to the Analyze Tab → Filter → Insert Slicer.
- Select the field you want to use as a filter.
- Click OK.
Using a slicer is always a better option than a standard filter.
2. Insert a Timeline to Filter Dates in a Pivot Chart
If you want to filter your pivot chart using a date field, you can use a timeline instead of a slicer.
Filtering dates with a timeline is super easy. It works like an advanced filter you can use to filter dates by days, months, quarters, and years.
- Select your pivot chart and go to the Analyze Tab → Filter → Insert Timeline.
- Select your date field from the pop-up window and click OK.
3. Present Months in a Pivot Chart by Grouping Dates
Let's say you have dates in your data and you want to create a pivot chart on a monthly basis. One simple way is to add a month column to your data and use it in the chart.
But here's the twist: you can group dates in your pivot table, which lets you build a pivot chart by month even when you don't have a month column in the source data.
- Go to your pivot table and select any cell from the date field column.
- Right-click on it and select Group.
- Select Months from the pop-up window and click OK.
Frequently Asked Questions
What is the shortcut to create a pivot chart in Excel?
The fastest way is the F11 shortcut. Select any cell inside your pivot table and press F11, and Excel instantly creates a pivot chart on a new chart sheet. It's the quickest method when you already have a pivot table ready to go.
What is the difference between a pivot chart and a normal chart?
A normal chart plots a fixed range of cells that you select, so it stays static unless you change the source range yourself. A pivot chart is built on top of a pivot table, which makes it dynamic by default, it updates automatically as your pivot table changes, and you can filter and rearrange the data on the fly. That makes pivot charts the better choice for large data sets you want to explore.
Can I create a pivot chart without a pivot table?
Not directly, a pivot chart always needs a pivot table behind it. When you insert a pivot chart from scratch, Excel automatically creates the pivot table for you at the same time. If you'd rather not have a visible pivot table, you can build the chart from the Power Pivot Data Model instead.
Can I use a slicer with a pivot chart?
Yes. Select your pivot chart, go to the Analyze tab, and click Insert Slicer. The best part is that a single slicer can control multiple pivot charts and pivot tables at once, which is perfect for building interactive dashboards. A slicer is almost always a better option than a standard filter.
Why won't my pivot chart refresh?
A pivot chart updates along with its pivot table, so if the chart looks stale, the pivot table prob
unable to download the file from the link or the link you sent Patty 8 months ago.
Thank you
Welcome, Jan.
not able to download any of the files to work with
Thanks for pointing me out patty.