ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can getpivotdata use a cell reference? (https://www.excelbanter.com/excel-worksheet-functions/213774-can-getpivotdata-use-cell-reference.html)

Bryon Scruggs

Can getpivotdata use a cell reference?
 
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



Brotha Lee

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



Bryon Scruggs

Can getpivotdata use a cell reference?
 
Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


"Brotha Lee" wrote:

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



Glenn

Can getpivotdata use a cell reference?
 
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site Alias]","[Placement].[Placement
Site Alias].["&B1&"]")


Bryon Scruggs wrote:
Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


"Brotha Lee" wrote:

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



Bryon Scruggs

Can getpivotdata use a cell reference?
 
Let it be known to all that Glen rules. If I am the data monkey he is the
data ape.

"Glenn" wrote:

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site Alias]","[Placement].[Placement
Site Alias].["&B1&"]")


Bryon Scruggs wrote:
Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


"Brotha Lee" wrote:

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




Glenn

Can getpivotdata use a cell reference?
 
Bryon Scruggs wrote:
Let it be known to all that Glen rules. If I am the data monkey he is the
data ape.



Thanks (I think)! Glad I could help.


All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com