Data_field parameter in getpivotdtata as a cell reference.

T

Tomas

Please can someone help me?

I would like to use parameter data_field as cell reference in getpivotdata
function?
Is it possible and if yes so plesae how?

I tried it several times but result is still #REF!.

Example: =GETPIVOTDATA(B4;$A$3;"Partner";"ABC")

There goes about the B4 parameter because if I rewrite value from cell B4 as
a text then it returns right data.

Thanks in advance
 
D

Debra Dalgleish

If you append an empty string at either end of the cell reference, the
formula should work, e.g.:

=GETPIVOTDATA(""&B4;$A$3;"Partner";"ABC")
or
=GETPIVOTDATA(B4&"";$A$3;"Partner";"ABC")
 

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