Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Editing PivotTables without Underlying Data.
by Allen Wyatt
(last updated November 14, 2015)
Stephen works with workbooks that originate with other people in his company. These workbooks regularly have PivotTables in them. It seems that Stephen cannot edit some of the PivotTables, instead getting an error message that says the "underlying data was not included." This is a bit confusing, since Stephen received the entire workbook.
Normally this error occurs not when the underlying data is not present in the workbook, but when the underlying data cache is not saved with the PivotTable. This is usually done in an attempt to create a smaller file when the workbook is saved.
In order to edit the PivotTable, try simply refreshing the data (right-click the table and choose Refresh Data). If this doesn't work, or if you want to eliminate the message entirely, then you can follow these steps:
You should note that when this option is selected, the file size of your workbook can be significantly larger than if the option is not selected. This is a tradeoff, however, as the PivotTable should display quicker since it is working with the data in the cache.
If these techniques don't work, it could be because the underlying data for the PivotTable really isn't in the workbook. If you poke around in the workbook and cannot find the data, then it could be that the data was being pulled from an external source—outside of Excel. If this is the case (you will need to check with the PivotTable's author to verify this) and if the PivotTable options have been set to not save the cache, as previously described, then you won't be able to make edits.
If you determine that this is the case with your situation, then you'll need to have the original author again generate the PivotTable and make sure that the Save Data with Table Layout option is checked.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3295) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Editing PivotTables without Underlying Data.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Wish there was a way to define how you want PivotTables formatted before you actually create the PivotTable? You may be ...Discover More
When you create a PivotTable based on data that contains lots of text, you may be surprised to find that your text is ...Discover More
PivotTables are used to boil down huge data sets into something you can more easily understand. They are very good simple ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.