Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default GETPIVOTDATA function

Hello.

I have a GetPivotData function, as such:

=GETPIVOTDATA("PROPOSED_AMOUNT",$A$1,"ITEM_NUMBER" ,"00424400-01","PROMISED_MONTH","2008_08")


But, I don't want to use a hardcoded ITEM_NUMBER and PROMISED_MONTH . I
want to use a list of rows for the ITEM_NUMBER and a set of column headers
for the PROMISED_MONTH input.

That part's easy enough, but the input list of item numbers is not the same
list, in total, as the list of items in the Pivot Table. Some of the items
in the list are in the Pivot Table, and some are not.

For the items that are in the Pivot Table, I get the proper number... for
the items in the list that are not in the Pivot Table, it returns #REF.

I could probably write my own function to return 0 or " " when the item is
not in the Pivot Table, but is that how GETPIVOTDATA is supposed to work?

Thanks,
Mark
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default GETPIVOTDATA function

Hi Mark

You have to use
=IF(ISERROR(yourGPDformula),"",yourGPDformula)

--
Regards
Roger Govier

"mark" wrote in message
...
Hello.

I have a GetPivotData function, as such:

=GETPIVOTDATA("PROPOSED_AMOUNT",$A$1,"ITEM_NUMBER" ,"00424400-01","PROMISED_MONTH","2008_08")


But, I don't want to use a hardcoded ITEM_NUMBER and PROMISED_MONTH . I
want to use a list of rows for the ITEM_NUMBER and a set of column headers
for the PROMISED_MONTH input.

That part's easy enough, but the input list of item numbers is not the
same
list, in total, as the list of items in the Pivot Table. Some of the
items
in the list are in the Pivot Table, and some are not.

For the items that are in the Pivot Table, I get the proper number... for
the items in the list that are not in the Pivot Table, it returns #REF.

I could probably write my own function to return 0 or " " when the item is
not in the Pivot Table, but is that how GETPIVOTDATA is supposed to work?

Thanks,
Mark


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default GETPIVOTDATA function

Thanks, Roger... tha'ts what I came up with later last night.

I've done that for years with VLOOKUPS, though it tends to run slowly if you
get too many... then I work around it.

But anyway, yeah, that's what I came up with later... thought I'd check back
to see if anyone had something more that I hadn't thought of or didn't know
about.

Thanks!

"Roger Govier" wrote:

Hi Mark

You have to use
=IF(ISERROR(yourGPDformula),"",yourGPDformula)

--
Regards
Roger Govier

"mark" wrote in message
...
Hello.

I have a GetPivotData function, as such:

=GETPIVOTDATA("PROPOSED_AMOUNT",$A$1,"ITEM_NUMBER" ,"00424400-01","PROMISED_MONTH","2008_08")


But, I don't want to use a hardcoded ITEM_NUMBER and PROMISED_MONTH . I
want to use a list of rows for the ITEM_NUMBER and a set of column headers
for the PROMISED_MONTH input.

That part's easy enough, but the input list of item numbers is not the
same
list, in total, as the list of items in the Pivot Table. Some of the
items
in the list are in the Pivot Table, and some are not.

For the items that are in the Pivot Table, I get the proper number... for
the items in the list that are not in the Pivot Table, it returns #REF.

I could probably write my own function to return 0 or " " when the item is
not in the Pivot Table, but is that how GETPIVOTDATA is supposed to work?

Thanks,
Mark



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 bbddvv Excel Discussion (Misc queries) 1 June 28th 06 03:18 AM
getpivotdata function MarkM Excel Discussion (Misc queries) 4 December 21st 05 10:00 PM
GETPIVOTDATA function Maureno Excel Worksheet Functions 1 December 8th 05 08:54 AM
using getpivotdata function dreamz Excel Worksheet Functions 1 September 13th 05 12:56 AM
GETPIVOTDATA function SRiley Excel Worksheet Functions 2 December 31st 04 06:15 PM


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