View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brotha Lee Brotha Lee is offline
external usenet poster
 
Posts: 43
Default Can getpivotdata use a cell reference?

Bryon,

I am not familiar with XL2007 however could it be that the formula does not
recognize due to the fact you have to convert it to string.

Maybe something like this works:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month]."&H1)

HTH,

Brotha lee
"Bryon Scruggs" wrote:

In previous versions of Excel it was possible to use a cell reference in a
getpivotdata formula. Im not able to do this in Excel 2007.

Example:
Excel automatically generates this formula
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month].[august 2008]")

I try and replace the €śaugust 2008€ť with a cell reference like H1, but this
generates a #REF! error. Ive played around with the syntax but nothing seems
to work. Any ideas?

Thanks,
The Datamonkey