GETPIVOTDATA not working

AnnWillmott

New Member
Joined
Nov 17, 2008
Messages
9
Hi, I am referencing data in another workbook using GETPIVOTDATA.

In Workbook A, I click in the cell where I want to place the value, insert the = sign and then click on a field in the pivot table in Workbook B. This creates a GETPIVOTDATA formula that references Workbook B.

This kind of link works fine with Workbooks A & B. However, I cloned Workbook B and created Workbook C. Workbook A can't reference Workbook C. When I click on the = sign, then switch to Workbook C and click on the pivot table, I lose the connection to Workbook A and the formula is not created.

I can't see any fundamental difference between Workbook B and C, though they have different data, but it has the same number of sheets with the same formulas - functionally, it's a clone. This seems like a bug. Has anyone else seen this?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I'm not sure what you mean by clone. Did you copy the file? Do a File | Save As?

It is possible that the pivot cache is a shared source between the two files, somehow. It may be best to re-create it in the new workbook, or try again. And not to have two workbooks with the same pivot table data - that just sounds like trouble.
 
Upvote 0
Oddly enough, this problem fixed itself after a couple of hours of messing with it! The "cloned" table (I created it by Save As) has different data, actually - but I copied my spreadsheets to create separate version for separate television seasons. Anyway, if I find out what caused it, I'll post back. Thank you!
 
Upvote 0
It sounds as though you had the two workbooks open in different instances of Excel?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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
Back
Top