If you want to change the data source for a single Excel Pivot Table, you can use a command on the Ribbon. If you want to change data source for all pivot tables in a workbook, you can use a macro, instead of making the changes manually.
如果要更改单个Excel数据透视表的数据源,则可以在功能区上使用命令。 如果要更改工作簿中所有数据透视表的数据源,则可以使用宏,而不是手动进行更改。
更改数据源一个数据透视表 (Change Data Source One Pivot Table)
Follow these steps, to change the data source for a single pivot table.
请按照下列步骤操作,以更改单个数据透视表的数据源。
- Select a cell in the pivot table that you want to change 在数据透视表中选择要更改的单元格
- On the Rib