Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Henk
 
Posts: n/a
Default Can I make the data_field in the getpivotdata formula a cellrefere

I.e. syntax for getpivotdata is
GETPIVOTDATA(data_field,pivot_table,field1,item1,f ield2,item2,...)

I'd like the data_field to be a reference, but I get #REF errors when I try
this.

ex: GETPIVOTDATA ($B$1,pivot_table,field1,item1,field2,item2,...)

any ideas?
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Add an empty string to the data field reference, e.g.:

=GETPIVOTDATA(J5&"",$A$6,"Region","Central")

Henk wrote:
I.e. syntax for getpivotdata is
GETPIVOTDATA(data_field,pivot_table,field1,item1,f ield2,item2,...)

I'd like the data_field to be a reference, but I get #REF errors when I try
this.

ex: GETPIVOTDATA ($B$1,pivot_table,field1,item1,field2,item2,...)

any ideas?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Display form from an VB application in Excel kuhni Excel Discussion (Misc queries) 0 August 10th 05 06:04 PM
Worksheet form design rgarber50 Excel Discussion (Misc queries) 4 August 7th 05 05:09 AM
how to make an order form for a Flower sale? Avanti007 Excel Discussion (Misc queries) 1 January 9th 05 02:01 PM
How do I select cells and make the info populate into a form? jompeters Excel Worksheet Functions 0 January 7th 05 09:43 PM
Trying to delete form border, and it deletes all borders PeterM Excel Discussion (Misc queries) 11 January 3rd 05 03:36 PM


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

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

About Us

"It's about Microsoft Excel"