Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
les8
 
Posts: n/a
Default Hide zero totals in pivot table report

I have a file that I am importing that has warehouses across the top and the
inventory items down the side. Not every warehouse has every item. When I
try to do a pivot table on the warehouse (part number in row area) I get
EVERY inventory item, even those with zero values. Is there any way,
excluding macros, to have the rows where the total inventory for that part
number is zero not display? Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
les8
 
Posts: n/a
Default Hide zero totals in pivot table report

Note: I am using Excel 2002 - SP3

"les8" wrote:

I have a file that I am importing that has warehouses across the top and the
inventory items down the side. Not every warehouse has every item. When I
try to do a pivot table on the warehouse (part number in row area) I get
EVERY inventory item, even those with zero values. Is there any way,
excluding macros, to have the rows where the total inventory for that part
number is zero not display? Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
steven1001
 
Posts: n/a
Default Hide zero totals in pivot table report


This should work..
assume Col A is product, Col B is qty, Col C is labelled "display?" and
rows 2 to 5 contain data
C2 contains a value calculated by the formula..
=IF(SUMIF($A$2:$A$5,A3,$B$2:$B$5)=0,"hide","show")
copy formula into c3 to c5.

In the pivot table put the "display" column in page and select only
"show". If you are using 'get external data' the formula can be
auto-added by the refresh.

regards...


--
steven1001
------------------------------------------------------------------------
steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757
View this thread: http://www.excelforum.com/showthread...hreadid=525257

  #4   Report Post  
Posted to microsoft.public.excel.misc
steven1001
 
Posts: n/a
Default Hide zero totals in pivot table report


correction
cell c2 ... =IF(SUMIF($A$2:$A$5,A2,$B$2:$B$5)=0,"hide","show")


--
steven1001
------------------------------------------------------------------------
steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757
View this thread: http://www.excelforum.com/showthread...hreadid=525257

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
Derived Columns in Pivot Table sa02000 Excel Discussion (Misc queries) 1 February 8th 06 07:18 PM
Pivot Table - report product that have sales above defined level richard Excel Discussion (Misc queries) 0 December 9th 05 02:02 PM
Naming Pivot Table Paramater Report Shrikant Excel Discussion (Misc queries) 3 August 25th 05 10:15 PM
No Pivot Table Totals Wanted robertjtucker Excel Discussion (Misc queries) 1 August 2nd 05 08:59 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM


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