Fix an Excel PivotTable That Does Not Refresh After Table Rows Change
Question details
The user needs an Excel PivotTable to reflect added and deleted records from its source table.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A PivotTable uses an Excel Table as its source, and the source records have changed.
- Observed behavior
- Refreshing the PivotTable does not show the expected changes.
Identify the source table and a specific added or deleted record to check. Note any PivotTable filters and whether the workbook contains worksheet event macros.
Check PivotTable Filters and the Source Table
Use this approach to find out whether filters or an incorrect source are hiding the changed records.
Open the filter dropdowns on the PivotTable and select all items or clear the filters. For example, a filter set to HDL File Name = Contact.dat will hide changes to other file names.
Click the PivotTable, then select PivotTable Analyze > Change Data Source. Confirm that the table or range shown is the intended source, and correct it if necessary.
Click a newly added source row and check whether it is included in the Excel Table. If it is outside the table, select a table cell and use Table Design > Resize Table to include it.
Click the PivotTable and select PivotTable Analyze > Refresh. Check the added or deleted record, then reapply any needed filters.

Test Whether a Worksheet Change Event Interferes
Use this check if the source and filters are correct and the workbook has a Worksheet_Change procedure.
Work With PivotTables in WPS Spreadsheet
WPS Office is a free, lightweight alternative for working with spreadsheets in a familiar interface. Open compatible Excel files in WPS Spreadsheet to make migration easier, while continuing to use Excel for troubleshooting its worksheet event code.

Frequently Asked Questions
Why are new rows missing from my Excel PivotTable?
The rows may be outside the source table, excluded by a filter, or not yet reflected in the PivotTable. Check PivotTable Analyze > Change Data Source, clear the relevant filters, and select Refresh.
Can a PivotTable filter hide changes to source data?
Yes. If a field is filtered to a specific value, records with other values will not appear. Open the field's filter dropdown and select all items to test the results.
Why does a deleted value still appear in the PivotTable filter?
Excel can retain old item labels in the PivotTable cache. Open PivotTable Analyze > Options > Data, set Number of items to retain per field to None, and refresh the PivotTable.
Does Worksheet_Change run when I manually refresh a PivotTable?
Worksheet_Change runs when worksheet cells change; a manual PivotTable refresh does not by itself trigger that event. If source edits produce unexpected results, inspect the procedure in the worksheet's VBA code.




