GetPivotData and cell references

M

MFINE

Hi, I am trying to build a GetPivotData formula that uses cell references for
all the fields in the function. i have not been successful in substituting a
cell reference for the data_field - get a #REF! result. Using Excel/Office
2003.

Thanks for any suggestions

Marc
 
D

Debra Dalgleish

Concatenate an empty string to the data field's cell reference, e.g.:

=GETPIVOTDATA(G3&"",$B$3,"Year",F4)
 
M

MFINE

Thanks Debra, this did it.

Marc

Debra Dalgleish said:
Concatenate an empty string to the data field's cell reference, e.g.:

=GETPIVOTDATA(G3&"",$B$3,"Year",F4)
 
Top