Unexplained GETPIVOTDATA #REF error

paulym666

New Member
Joined
Jun 23, 2013
Messages
20
This is the simplest situation, but it's giving me a #REF error that I can't explain or fix.

I am not writing or constructing a GETPIVOTDATA formula. I have turned on "Generate GetPivotData" in pivot table options, and then in a blank cell I type "=", just move the cursor to a number in a pivot table and then hit enter. The original cell that was blank now has an automatically generated GETPIVOTDATA formula and that formula should deliver the number in the pivot table that I highlighted. But it doesn't - I immediately get a #REF error.

To be clear - this is what I see immediately after the GETPIVOTDATA formula is generated. I haven't subsequently changed the pivot causing there to be no data in the combination of fields the GETPIVOTDATA is referencing.

Can anyone help me work out how to fix it?

Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hmm... It may be because I had collapsed fields in the pivot and was referencing a subtotal of those collapsed fields. Not sure why Excel wouldn't allow the GETPIVOT data to call back the subtotal though. Perhaps there's a setting/option I need to change?
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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