A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
The error message "Data source reference is not valid" in a PivotTable usually indicates that the data source range for the PivotTable has been changed or deleted. To resolve this issue, you can try the following steps:
- Check the data source range: Make sure that the data source range for the PivotTable is correct and includes all the data that you want to analyze. To check the data source range, click anywhere inside the PivotTable, then go to the "PivotTable Analyze" tab on the ribbon and click "Change Data Source" in the "Data" group.
- Refresh the PivotTable: If the data source range is correct, try refreshing the PivotTable to update the data. To refresh the PivotTable, click anywhere inside the PivotTable, then go to the "PivotTable Analyze" tab on the ribbon and click "Refresh" in the "Data" group.
- Recreate the PivotTable: If the above steps do not resolve the issue, you may need to recreate the PivotTable from scratch.