GETPIVOT() how to dynamic link it to different sheets

Anchev

New Member
Joined
Jul 16, 2013
Messages
4
Hi,

i have several sheets with different pivot tables in it. when i make a dashboard in one sheet i want to be able to copy paste it to different sheets. By changing 1 cell i want the GETPIVOT() formula to fetch data from a different pivot table in a different sheet.

Current formula:
=IFERROR(GETPIVOTDATA("[Measures].[Sales]";ABC!$A$4;"[Product].[Market companies]";"[Product].[Market companies].[Market company].&["&$A3&"]";"[Product].[Products]";"[Product].[Products].[Product].&["&$B3&"]";"[FSTimeCalculation].[Time Calculation]";"[FSTimeCalculation].[Time Calculation].&[P]";"[Current month]";"[Date].[Y-Q-M-D].[Month].&[12]&[2013]");0)

Instead of ABC!$A$4 i want to link to for instance A1 in the worksheet the dashboard is where i can change that cell to DEF.
Any tips? i am currently stuck :confused:
 

Some videos you may like

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Watch MrExcel Video

Forum statistics

Threads
1,122,214
Messages
5,594,881
Members
413,947
Latest member
gizmolucy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top