Last updated: July 18, 2008 11:45 PM
Table of ContentsExcel -- Pivot Tables -- Clear Old Items
Download the zipped sample file
- Manually Clear Old Items
- Change the Retain Items Setting in Excel 2007
- Programmatically Clear Old Items -- Excel 2002 and later
- Programmatically Clear Old Items -- Excel 97/2000
Old Items Remain in Pivot Field Dropdowns
The data in the pivot table source may change, and items that were previously in the source are no longer included. For example, some sales reps may leave the company, and the names of their replacements appear in the source table.Even after you refresh the pivot table, the names of the old sales reps will appear, along with the new names. In the list at right, Cartier has replace Gill, but Gill still appears in the list.
Change the Retain Items Setting in Excel 2007
To prevent old items from being retained in an Excel 2007 pivot table, you can change an option setting:
- Right-click a cell in the pivot table
- Click on PivotTable options
- Click on the Data tab
- In the Retain Items section, select None from the drop down list.
- Click OK, then refresh the pivot table.
To view the steps in a short video, click here