Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dreamz
 
Posts: n/a
Default using getpivotdata function


hello,

how do i use the getpivotdata function? i used the pt to sum up the
objects for my categories (ST, Code, Value).

example:

=GETPIVOTDATA("sum of objects",$A$4,"ST",M4,"Code","1","Value","True")

ST = state
M4 = first state in another list
Code = name of field
1 = Code 1
Value = name of another field
True = the value, either true or false

in M4, i have AK for alaska, and continuing on down the sheet, i have
the rest of the states in alphabetical order (so AL, AR, AZ, etc.), so
it looks like:

AK
AL
AR
AZ
CA...

basically, i want the cell N4 to be the number of objects for AK, where
the value is taken from the pt, where the state is AK, where the Code
number is 1, and where the value is true.

i know the formula i used doesn't work. is there a way i can get this
to work so that it automatically looks up the state and puts in the
value (like a beefed up vlookup)?

thanks.


--
dreamz
------------------------------------------------------------------------
dreamz's Profile: http://www.excelforum.com/member.php...o&userid=26462
View this thread: http://www.excelforum.com/showthread...hreadid=466939

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

Your formula looks like it should work. What result do you get?

dreamz wrote:
hello,

how do i use the getpivotdata function? i used the pt to sum up the
objects for my categories (ST, Code, Value).

example:

=GETPIVOTDATA("sum of objects",$A$4,"ST",M4,"Code","1","Value","True")

ST = state
M4 = first state in another list
Code = name of field
1 = Code 1
Value = name of another field
True = the value, either true or false

in M4, i have AK for alaska, and continuing on down the sheet, i have
the rest of the states in alphabetical order (so AL, AR, AZ, etc.), so
it looks like:

AK
AL
AR
AZ
CA...

basically, i want the cell N4 to be the number of objects for AK, where
the value is taken from the pt, where the state is AK, where the Code
number is 1, and where the value is true.

i know the formula i used doesn't work. is there a way i can get this
to work so that it automatically looks up the state and puts in the
value (like a beefed up vlookup)?

thanks.




--
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
How do I use turn GETPIVOTDATA function off? jwam Excel Worksheet Functions 3 August 11th 05 11:57 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Copy GetPivotData Function Elaine Excel Worksheet Functions 2 April 12th 05 04:10 PM
GETPIVOTDATA function SRiley Excel Worksheet Functions 2 December 31st 04 06:15 PM


All times are GMT +1. The time now is 05:03 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"