logo
search
Pivot Table Issues

How to Fix Excel PivotTable Dates and Categories Not Refreshing

Olivia MillerOlivia Miller Sep 25, 2026 868 views

Question details

The user is unable to clear obsolete dates and categories from an Excel PivotTable using the 'Refresh All' function after copying a workbook.

How to Fix Excel PivotTable Dates and Categories Not Refreshing
Product
Microsoft Excel
Device & OS
not provided
Scenario
Attempting to update PivotTable data after copying a workbook using the Save As feature.
Observed behavior
The PivotTable retains old dates and categories in its pivot cache, and clicking 'Refresh All' fails to remove these obsolete items.
Before you start

Before modifying your PivotTable cache settings, ensure that your data source range is correctly defined and does not contain any unintended blank columns or rows.

Solution 1Recommended

Clear Retained Items from PivotTable Options

Adjusting the PivotTable options to prevent Excel from saving deleted items in the cache is the most effective way to clear old dates and categories.

By default, Excel retains items deleted from the data source in the pivot cache. This is done so that custom formatting and calculated fields aren't lost when data changes. To permanently remove obsolete categories, you must change this behavior in the settings.

1
Open PivotTable Options

Right-click anywhere inside the affected PivotTable and select 'PivotTable Options' from the context menu.

2
Navigate to the Data Tab

In the PivotTable Options dialog box, click on the 'Data' tab located at the top.

3
Change Item Retention Settings

Locate the 'Retain items deleted from the data source' section. Click the drop-down menu next to 'Number of items to retain per field' and change it from 'Automatic' to 'None'.

4
Apply and Refresh

Click 'OK' to save the settings. Finally, right-click the PivotTable again and select 'Refresh' to clear the old dates and categories.

Clear Retained Items from PivotTable Options
Settings Applied: Once set to 'None', future refreshes will automatically drop any categories or dates that no longer exist in your source data.
Manage Pivot Tables Effortlessly with WPS Office

Create and Refresh Pivot Tables Easily in WPS Spreadsheet

WPS Spreadsheet provides a seamless and user-friendly experience for analyzing data with Pivot Tables. You can easily refresh data, manage source ranges, and avoid frustrating cache issues, all while maintaining perfect compatibility with your existing Excel files.

  1. 1. Open Your Workbook: Launch WPS Spreadsheet and open your existing .xlsx workbook.
  2. 2. Access PivotTable Tools: Click on your PivotTable to activate the dedicated 'PivotTable Tools' tab on the top ribbon.
  3. 3. Adjust Cache Settings: Click on 'Options', navigate to the Data tab, and ensure item retention is set to 'None'.
  4. 4. Refresh Instantly: Click the 'Refresh' button on the ribbon to instantly update all dates and categories.
Fully compatible with Microsoft Excel (.xlsx) PivotTables and data models.Instantly refresh data without retaining obsolete categories by default.Free, lightweight, and optimized for fast performance on large datasets.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel PivotTable still show deleted data?

By default, Excel retains items deleted from the data source in the pivot cache. This prevents the loss of custom formatting and calculated fields associated with those items. To remove them, you must change the 'Number of items to retain per field' setting to 'None' in the PivotTable Options.

Does 'Refresh All' update the pivot cache?

'Refresh All' updates the values from the source data, but it does not automatically purge old categories from the background cache if the retention setting is set to 'Automatic'. You must manually clear the cache settings first for the refresh to drop obsolete items.

How do I clear the PivotTable cache on Excel for Mac?

The process on Mac is identical to Windows. Right-click the PivotTable, select 'PivotTable Options', navigate to the 'Data' tab, change the 'Retain items deleted from the data source' drop-down to 'None', and then refresh your PivotTable.