View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Debra Dalgleish Debra Dalgleish is offline
external usenet poster
 
Posts: 2,979
Default GetPivotData and cell references

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

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

MFINE wrote:
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



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html