+ Reply to Thread
Results 1 to 2 of 2

Pivot Tables - Exclude Rows With Zero Balances

  1. #1
    bobs
    Guest

    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. #2
    Forum Contributor
    Join Date
    01-23-2006
    Posts
    194
    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 :-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1