GetPivotData Function Error

S

Sal Rosario

We keep getting either the #N/A or #REF errors when using the GetPivotData
function. I created a range name called MyPivotTable for my pivot table and
I am trying to reference the intersection between a Territory and a Product.
My function reads like:
=GetPivotData(MyPivotTable,"US Matress")

Any suggestions as to the typical pitfalls when using this function?
 
D

Debra Dalgleish

If your field name includes a space, enclose it with single quotes:

=GetPivotData(MyPivotTable,"'US Matress'")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top