Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Using a cell ref for the data_field arg in a GETPIVOTDATA formula

I can create the following formula to retrieve specific data from a pivot
table:

=GETPIVOTDATA("NewCorrel",$A$3,"MC1","NG Nova C & NIT","Ten1",DATE(2005,2,1))

However, if i try to put the text "NewCorrel" in Cell E18 (for example) and
then rewrite the formula as shown below, i get a #REF! error. I can replace
any of the other arguments with references to cells that contain the proper
values, but for some reason when I try to do that with the data_field arg, I
get the error.

=GETPIVOTDATA( E18 ,$A$3,"MC1","NG Nova C & NIT","Ten1",DATE(2005,2,1))

Any suggestions?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to translate a getpivotdata formula into a cell reference mbardon Excel Discussion (Misc queries) 0 February 11th 10 10:01 AM
GetPivotData from OLAP Cube Cell Referencing Formula. Bazy2k Excel Worksheet Functions 1 June 11th 08 10:09 AM
Can I make the data_field in the getpivotdata formula a cellrefere Henk Excel Worksheet Functions 1 August 19th 05 07:30 PM
Data_field parameter in getpivotdtata as a cell reference. Tomas Excel Discussion (Misc queries) 1 July 22nd 05 03:18 AM
Getpivotdata - referncing a data_field resulting in "REF! Peter Excel Worksheet Functions 2 April 5th 05 07:02 PM


All times are GMT +1. The time now is 09:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"