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.

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:

  1. Click anywhere within the PivotTable.
  2. Display the Options tab of the Ribbon (Excel 2007 or Excel 2010. If you are using Excel 2013 or a later version, display the Analyze tab of the Ribbon.)
  3. Click the Change Data Source tool in the Data group. Excel displays the Change PivotTable Data Source dialog box. (See Figure 1.)
  4. Figure 1. The Change PivotTable Data Source dialog box.

  5. In the Table/Range box, specify an address range within the current workbook, specifically within the worksheet data you want to use.
  6. Click OK.

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.

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

Searching for Formatting

When searching for text, Word can pay attention to more than just the characters in the text. It can also pay attention ...

Discover More

Understanding Precedence

Formulas created in a macro have a specific order in which operations are performed. This is known as precedence, as ...

Discover More

Capitalizing Just a Surname

Changing the capitalization of text is, believe it or not, a common task in Excel. Common or not, it can be frustrating ...

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)

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

Easy Filtering Specifications for a PivotTable

When you want to include specific records from a source table into a PivotTable, you need to employ some sort of ...

Discover More

Editing PivotTables without Underlying Data

If you ever try to edit a PivotTable and get an error that tells you that the "underlying data was not included," it can ...

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 one less than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.