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

Changing the Size of a Drawing Object

Documents are often made up of more than just text. If you have drawing objects in your document, you will doubtless need ...

Discover More

Noting Changes at the Left of the Text

The Track Changes feature allows you to easily see where changes have been made in a document. Resolve those changes, and ...

Discover More

Setting Row Height in a Macro

Macros can be used to change the formatting of your worksheet, if desired. One change you might want to make is to the ...

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)

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

Suppressing Zero Values in PivotTables

PivotTables are great for digesting and analyzing huge amounts of data. But what if you want part of that data excluded, ...

Discover More

Expanding PivotTable Rows to Sheets

PivotTables are a great way to work with large quantities of data in an intelligent manner. Sometimes, however, you just ...

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 8 + 7?

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.