Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Data - Troubleshoot needed


I am trying to use the getpivotdata formula and am stubbling on some
problems with the formula I am using.
=GETPIVOTDATA("Count",Sheet4!$A$6,"Objective ","001","Objective
Title","External Service Management","Sub OC","CMP")
I am basically trying to get data (for a summary sheet) from a pivot
table, however the pivot table does not display a heading which has no
data. So if my formula was asking for the pivot table to gather data
from a column titled Ext Service Management it comes back as a "REF" as
the pivot table is not showing any for that particular title as there
are none.

Question is how can I get either:
1. the pivot table to show the title even if no data is there
2. how I can change the formula to return a nil value is there is no
title and no data?


--
aly1cat


------------------------------------------------------------------------
aly1cat's Profile: http://www.excelforum.com/member.php...fo&userid=4560
View this thread: http://www.excelforum.com/showthread...hreadid=567901

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table Data - Troubleshoot needed

1. You can double-click on a field button, and add a check mark to 'Show
items with no data'

2. You can use an IF function with the GetPivotData function. For example:

=IF(ISERROR(GETPIVOTDATA("Units",$A$6,"Item",F9)), 0,
GETPIVOTDATA("Units",$A$6,"Item",F9))

aly1cat wrote:
I am trying to use the getpivotdata formula and am stubbling on some
problems with the formula I am using.
=GETPIVOTDATA("Count",Sheet4!$A$6,"Objective ","001","Objective
Title","External Service Management","Sub OC","CMP")
I am basically trying to get data (for a summary sheet) from a pivot
table, however the pivot table does not display a heading which has no
data. So if my formula was asking for the pivot table to gather data
from a column titled Ext Service Management it comes back as a "REF" as
the pivot table is not showing any for that particular title as there
are none.

Question is how can I get either:
1. the pivot table to show the title even if no data is there
2. how I can change the formula to return a nil value is there is no
title and no data?




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Data - Troubleshoot needed


thanks, but still not sure how to complete the formula i.e yours is
considerably different from mine and what does the F9 do?


--
aly1cat


------------------------------------------------------------------------
aly1cat's Profile: http://www.excelforum.com/member.php...fo&userid=4560
View this thread: http://www.excelforum.com/showthread...hreadid=567901

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Data - Troubleshoot needed


Also, I do not want to test the error, I just want it to look for the
item and if it is not in the pivot table, then just report it back as a
"0".

Is this possible?


--
aly1cat


------------------------------------------------------------------------
aly1cat's Profile: http://www.excelforum.com/member.php...fo&userid=4560
View this thread: http://www.excelforum.com/showthread...hreadid=567901

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot Table Data - Troubleshoot needed

If the pivot table layout won't change, you could use the Match function
to look for an item in a range. There are examples he

http://www.contextures.com/xlFunctions03.html

If the function returns a number, the item was found.

But the GetPivotData function may be easiest to use, to test if the item
is in the pivot table. Using your example:

=IF(ISERROR(GETPIVOTDATA("Count",$A$6,"Objective", "001",
"Objective Title","External Service Management","Sub OC","CMP"))
0, GETPIVOTDATA("Count",$A$6,"Objective ","001",
"Objective Title","External Service Management","Sub OC","CMP"))



aly1cat wrote:
Also, I do not want to test the error, I just want it to look for the
item and if it is not in the pivot table, then just report it back as a
"0".

Is this possible?




--
Debra Dalgleish
Contextures
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
Date formatting on a Pivot Chart's Data Table [email protected] Charts and Charting in Excel 2 May 23rd 06 03:53 PM
external import of multiple worksheet data & create pivot table prospects Excel Worksheet Functions 0 November 3rd 05 09:27 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Pivot table Data refresh SSD1 Excel Worksheet Functions 2 June 17th 05 09:13 PM
Pivot Table - max rows allowed in data range dmotika Excel Discussion (Misc queries) 2 May 26th 05 05:52 PM


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