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

Changes in Font Size when Copying

Have you ever copied information from one worksheet to another, only to have the information you paste not look the way ...

Discover More

Understanding Views

Need to display your worksheet in different ways? A quick way to do this is to create views, as described in this tip.

Discover More

Adding a Calendar to a Worksheet

Using a specialized calendar control is a great way to let users add dates to a worksheet. Unfortuantely, Microsoft ...

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)

Empty PivotTable Cells Don't Show as Blank

You can configure Excel so that it displays special text within blank PivotTable cells. Here's how to make the changes ...

Discover More

Setting Stable Column Widths in a PivotTable

When you update a PivotTable, Excel can take liberties with any formatting you previously applied to the PivotTable. ...

Discover More

Using Classic PivotTable Layout as the Default

Are you attached to the classic PivotTable layout? Looking for a way to make that layout the default for new PivotTables? ...

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 nine minus 5?

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.