How to Remove Old Items From Excel PivotTable Filters
Question details
The user needs to remove old names or blank entries that continue to appear in Excel PivotTable filter lists even after the source data has been deleted or updated.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Filtering data in an existing PivotTable after items have been removed from the original data source.
- Observed behavior
- Excel retains deleted source items in the cache, causing obsolete and deleted entries to still show up in the PivotTable filter drop-down menus.
Make sure you have completely updated and saved your original data source before attempting to refresh the PivotTable.
Change PivotTable Data Retention Settings
Adjust the PivotTable options to stop retaining deleted items from the data source, then refresh the table to clear the filter list.
By default, Excel retains deleted source items in the PivotTable cache so that custom formatting and calculated fields remain intact even if data is temporarily removed. Changing this setting to 'None' forces Excel to drop these old items from the cache completely.
Right-click anywhere inside your PivotTable and select 'PivotTable Options' from the context menu.
In the PivotTable Options dialog box, click on the 'Data' tab located at the top.
Find the section labeled 'Retain items deleted from the data source'. Click the drop-down menu next to 'Number of items to retain per field', select 'None', and then click 'OK'.
Right-click the PivotTable again and select 'Refresh' (or go to the PivotTable Analyze tab and click Refresh). This applies the new setting and clears the old filter items.
Easily Manage PivotTable Filters with WPS Office Spreadsheet
WPS Office Spreadsheet provides intuitive and powerful tools for data analysis, including full support for PivotTable creation, customization, and data cache management. You can effortlessly clear old items and refresh your data.
- 1. Open your file in WPS: Launch WPS Office Spreadsheet and open your existing .xlsx workbook.
- 2. Access PivotTable Options: Right-click the PivotTable, select 'Options', and go to the 'Data' tab.
- 3. Clear Old Items: Set the 'Number of items to retain per field' to 'None' and click OK.
- 4. Refresh Data: Right-click the table and click 'Refresh' to update your filters instantly.

Frequently Asked Questions
Why do deleted items still show up in my Excel PivotTable?
By default, Excel saves deleted items in the PivotTable cache to prevent issues if the data is temporarily removed or changed. This memory function causes old entries to appear in your filter drop-downs until the retention settings are modified.
Can I set the retention setting to 'None' for all future PivotTables automatically?
No, there isn't a built-in global setting to change the default behavior for all new PivotTables in Excel. You must change the 'Retain items deleted from the data source' setting to 'None' individually for each PivotTable, or use a VBA macro to apply it across multiple tables.
Does refreshing the PivotTable automatically remove old items?
No. Unless you first change the data retention setting in the PivotTable Options to 'None', merely refreshing the PivotTable will not clear the deleted or blank items from the cache.
Will changing data retention settings affect my original data?
No. The retention setting only affects the internal cache of the PivotTable itself, dictating whether it remembers items that no longer exist in the source. Your original data remains completely untouched.




