ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Dynamic PivotTable Data Source (https://www.excelbanter.com/excel-discussion-misc-queries/155322-dynamic-pivottable-data-source.html)

Lenardz

Dynamic PivotTable Data Source
 
Hi,

Is there a way for me to put the datasource,sheet and range information in a
cell, then reference the PivotTable to that cell to get the information?

I have 3 PivotTables and would like to be able to access between current and
historical data without having to go through the manual process of:
- Starting the wizard
- Click back
- Update the datasource
- Click OK

All datasources are exactly the same, except for the workbook name.

Any ideas?

Phil Smith

Dynamic PivotTable Data Source
 
Lenardz wrote:
Hi,

Is there a way for me to put the datasource,sheet and range information in a
cell, then reference the PivotTable to that cell to get the information?

I have 3 PivotTables and would like to be able to access between current and
historical data without having to go through the manual process of:
- Starting the wizard
- Click back
- Update the datasource
- Click OK

All datasources are exactly the same, except for the workbook name.

Any ideas?

Here is one idea, make three pivot tables, each on thier own Worksheet.
Then you could select thier tab to switch between them...


All times are GMT +1. The time now is 10:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com