Can I make the data_field in the getpivotdata formula a cellrefere

H

Henk

I.e. syntax for getpivotdata is
GETPIVOTDATA(data_field,pivot_table,field1,item1,field2,item2,...)

I'd like the data_field to be a reference, but I get #REF errors when I try
this.

ex: GETPIVOTDATA ($B$1,pivot_table,field1,item1,field2,item2,...)

any ideas?
 
D

Debra Dalgleish

Add an empty string to the data field reference, e.g.:

=GETPIVOTDATA(J5&"",$A$6,"Region","Central")
 

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