Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Missing PivotTable Data.
Written by Allen Wyatt (last updated December 12, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
Imagine this scenario—you are working with an Excel workbook created by someone else. The workbook contains a PivotTable, but you discover that you cannot make changes to it. When you try, you get a message that says the underlying data was not saved. The worksheet with the data is in the workbook, and the PivotTable is there, but you cannot change the PivotTable directly or even make changes to the worksheet and updated the PivotTable.
This scenario isn't that unique; it happens all the time. There are two possible reasons for the problem. First, when a PivotTable is created, the user can specify an option that causes Excel to not save the data with the table layout. (This option is accessed by clicking the Options button on the last step of the PivotTable Wizard.) If the PivotTable is really based on the worksheet in the workbook, then this is no problem. If, however, it is based on some other data source, then it can cause a problem because you cannot later modify the table.
The second possible reason is that the workbook that you have isn't the same workbook in which the worksheet and the PivotTable originally resided. It is possible that, in creating the workbook for your use, the original user copied the PivotTable and the worksheet from the original workbook to a new, blank workbook. If this is the case, then the PivotTable is independent of any data in the workbook you are viewing. You can check this out by trying these steps:
Figure 1. The Change PivotTable Data Source dialog box.
Excel redoes the PivotTable, this time based on the information in the workbook. You can then make changes to the PivotTable (or the underlying data) as you desire.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8391) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Missing PivotTable Data.
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!
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 MorePivotTables are a great way to work with large quantities of data in an intelligent manner. Sometimes, however, you just ...
Discover MoreOne of the ways you can use PivotTables is to generate counts of various items in a data table. This is a great technique ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments