Updating a PivotChart Automatically

Written by Allen Wyatt (last updated May 29, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


5

David has monthly data in a worksheet. He uses a PivotTable to aggregate this information into a quarterly information; this works great. He then creates a PivotChart based on the information in the PivotTable. Problem is, if the PivotTable updates, the PivotChart does not automatically update. David wonders if there is a way to update the PivotChart whenever the PivotTable is updated.

When you choose to update a PivotTable, you typically do so by clicking the Refresh tool on the PivotTable Analyze tab of the ribbon. (You can also use the Alt+F5 shortcut, if you want.) This action updates what you are looking at—in other words, the currently visible PivotTable.

If you want to update other pivot-based data in the workbook (in other words, a PivotChart you are not currently looking at on the screen), you need to modify, slightly, how you update. Instead of using the Refresh tool, click the down-arrow under the Refresh tool and then choose Refresh All. (You could also use the Ctrl+Alt+F5 shortcut.) This updates all pivot data, including PivotCharts, with a single step.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13689) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Technique for Adding a Text Box to an Envelope

Text boxes can be a great design feature to use in laying out a document. You may want to add one to an envelope, ...

Discover More

Saving and Using a Form

After you have created your custom form, you will need to save it so that you can use it as often as needed. Word makes ...

Discover More

Hiding Grammar Errors

Are you bothered by the green underlines that Word uses to mark potential grammar errors in your document? You can hide ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Counting Ports of Call with a PivotTable

A PivotTable is a great way to aggregate and analyze data. Sometimes, though, it can be difficult to figure out how to ...

Discover More

Refreshing PivotTable Data

If you modify the data on which a PivotTable is based, you'll need to refresh the table so it reflects the modified data. ...

Discover More

Seeing What Changed in a PivotTable

PivotTables are great for aggregating and analyzing tons of raw data. If you want to see what changes in the PivotTable ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2019-10-21 06:45:38

Alex B

Either I am missing something or my Excel (365) is working differently.
If the PivotChart was created based on the information in the PivotTable, this should mean that it is linked to the Pivot Table and the same Pivot Cache. Refreshing either the Pivot Table or the Pivot Chart would update both. This is true even if you moved the chart to another sheet.

If it is not doing so that would indicate that the chart is not actually based on the Pivot Table being refreshed.
You could right click on the Pivot Table and select PivotTable Options & on the Chart and select PivotChart Options and check they both show the same Pivot Table name.


2019-10-21 04:42:27

Harold Druss

Brian
My comment was meant to be a joke.


2019-10-20 14:59:38

Brian

Not automatic. Pressing buttons is manual. And you would have to personally detect when a source data change occurs.
Need to automate with VBA in a calculation worksheet event.


2019-10-20 05:55:40

Harold Druss

Brian
When the Pivot Table updates, you automatically press Ctrl+Alt+F5
That's not automatic?


2019-10-19 20:08:10

Brian

How is this automatic?


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.