Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Pivot Tables - Exclude Rows With Zero Balances

Is there a way to have pivot tables exclude rows in which the DATA amounts
are/total zero? Thanks, Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Tables - Exclude Rows With Zero Balances


try adding an extra column to the data which contains a label of 'hide'
or display' where that value is determined by using a sumif calculation
so that if the sum of all trx values for the criteria column is zero
then it gets a label of 'hide' else 'display'. Then in the pivot table
put the 'hide/display' label in the Page area and select only
'Display'.

Formula would look like assuming the column headings were in row A, the
values in B and data in rows 2 to 100...
'=IF(SUMIF($A$2:$A$100 [the criteria column],$A$2:$A$100 [the criteria
column],$B$2:$B$100 [values of the criteria items])
=0,"Hide","Display")

... it worked when I tested it :-)


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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Pivot Tables - Exclude Rows With Zero Balances

Works great... thanks!

"steven1001" wrote:


try adding an extra column to the data which contains a label of 'hide'
or display' where that value is determined by using a sumif calculation
so that if the sum of all trx values for the criteria column is zero
then it gets a label of 'hide' else 'display'. Then in the pivot table
put the 'hide/display' label in the Page area and select only
'Display'.

Formula would look like assuming the column headings were in row A, the
values in B and data in rows 2 to 100...
'=IF(SUMIF($A$2:$A$100 [the criteria column],$A$2:$A$100 [the criteria
column],$B$2:$B$100 [values of the criteria items])
=0,"Hide","Display")

... it worked when I tested it :-)


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


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
overlapping pivot tables cwinters Excel Discussion (Misc queries) 2 July 4th 06 05:02 PM
2 Pivot tables on 1 sheet TheRook Excel Discussion (Misc queries) 1 June 14th 06 01:01 PM
#REF in Sheets that refer to Pivot Tables Will C. Excel Discussion (Misc queries) 1 June 2nd 06 08:54 PM
Three tables on one worksheet, need to hide rows Chiku Excel Discussion (Misc queries) 12 December 6th 05 10:47 PM
Problems with updating category names in pivot tables Vladimir Excel Discussion (Misc queries) 2 November 3rd 05 12:54 PM


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