Updating a PivotChart Automatically

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


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 2021.

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

Date Last Edited

You can insert several dynamic dates into your document. One you may want is to add the date when the last edit was ...

Discover More

Deleting a Printer

When you get rid of an old printer and install a new one, you'll want to get rid of the old printer definition maintained ...

Discover More

Incorrect Last Modified Date on E-mailed Documents

Word maintains, in a document's properties, several dates such as the date the document was created and last accessed. ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Rows in a PivotTable

PivotTables are used to analyze huge amounts of data. The number of rows used in a PivotTable depends on the type of ...

Discover More

Reducing File Sizes for Workbooks with PivotTables

Need to reduce the size of your workbooks that contain PivotTables? Here's something you can try to minimize the ...

Discover More

PivotTable Aggregating Incorrect Data

PivotTables can be a great tool for analyzing large amounts of data. If you have a PivotTable that is pulling information ...

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 minus 1?

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.