Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
neoschenker
 
Posts: n/a
Default getpivotdata syntax

I'm struggling with getting the right sytax on a getpivotdata formula because
of some spaces: =getpivotdata(beasley!$b$5,"total classroom 3456") where
Classroom 3456 is a pivot table field. I looked in this discussion group and
found something very similar but couldn't get it to work. I'm now at
=getpivotdata(beasley!$b$5,"total "&"classroom "&"3456") but that's giving me
#N/A. I also tried =GETPIVOTDATA(beasley!$B$5,"total 'CLASSROOM 3456'")
which gives me #REF. Thanks in advance for any suggestions.
  #2   Report Post  
tjtjjtjt
 
Posts: n/a
Default

The syntax of the GETPIVOTDATA

"neoschenker" wrote:

I'm struggling with getting the right sytax on a getpivotdata formula because
of some spaces: =getpivotdata(beasley!$b$5,"total classroom 3456") where
Classroom 3456 is a pivot table field. I looked in this discussion group and
found something very similar but couldn't get it to work. I'm now at
=getpivotdata(beasley!$b$5,"total "&"classroom "&"3456") but that's giving me
#N/A. I also tried =GETPIVOTDATA(beasley!$B$5,"total 'CLASSROOM 3456'")
which gives me #REF. Thanks in advance for any suggestions.

  #3   Report Post  
tjtjjtjt
 
Posts: n/a
Default

Sorry about the false start.
GETPIVOTDATA has a different syntax for versions 2002 and later than for
earlier versions, so it's possible that is part of the problem.
You might check out this web page for a good overivew of this function:
http://www.contextures.com/xlPivot06.html

tj

"neoschenker" wrote:

I'm struggling with getting the right sytax on a getpivotdata formula because
of some spaces: =getpivotdata(beasley!$b$5,"total classroom 3456") where
Classroom 3456 is a pivot table field. I looked in this discussion group and
found something very similar but couldn't get it to work. I'm now at
=getpivotdata(beasley!$b$5,"total "&"classroom "&"3456") but that's giving me
#N/A. I also tried =GETPIVOTDATA(beasley!$B$5,"total 'CLASSROOM 3456'")
which gives me #REF. Thanks in advance for 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
GETPIVOTDATA function SRiley Excel Worksheet Functions 2 December 31st 04 06:15 PM
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
Generate GetPivotData Lonnie Setting up and Configuration of Excel 1 December 10th 04 10:02 PM
Previous Post - Correct Syntax Query Clarence Crow Excel Worksheet Functions 0 December 7th 04 05:35 AM
GetPivotData Henry Leibowitz Excel Worksheet Functions 1 November 5th 04 01:13 AM


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

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"