+ Reply to Thread
Results 1 to 11 of 11

Pivot table display

  1. #1
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Pivot table display

    Is there a way to hide categories with 0/nothing in pivot table

    For Example: (Pivot Table)

    Vendor Name Data Total (Drop Down Bar)
    KRAFT/AURORA-DRY
    Short 97
    Damaged <-----hide
    Quality Issue <-----hide
    Mis-ship <-----hide
    Others 432
    Total Variance 555
    TYSON FOODS INC.
    Short 476
    Damaged <-----hide
    Quality Issue 2
    Mis-ship <-----hide
    Others <-----hide
    Total Variance 478
    ...
    Last edited by ybu1106; 06-21-2010 at 10:44 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table display

    You mean?

    http://www.techonthenet.com/excel/pi...ide_blanks.php
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Re: Pivot table display

    haha its you again! might as well come work with me lol.

    Opps, the format is messed up, yeah sort of like that, but I have more than 1 variable, and when I followed that procedure ( putting the categories under page in layout), data didn't come out at all. Also can you format categories (ex. Bold, italic, font, color)

    heres a dummy book
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table display

    Can you attach an actual pivot table example, so that I can see how you constructed it and from what....

    You can change up confidential information.

  5. #5
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Re: Pivot table display

    Here you go
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table display

    I am not sure that this is possible here (maybe with VBA???).

    One of the items (Others) have all blanks, and there has to be at least one displaying...

    The others are like filtering with Autofilter.. by process of elimination, you end up hiding fields that shouldn't be because you filtered another field first, etc...

    Have you considered displaying it with column headers instead?

    Just drag the DATA button to the right.. and it should change format. Is that more usable?

  7. #7
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Re: Pivot table display

    No, that doesn't work. My boss just doesn't like to see blanks and zeros. He prefers only seeing what is relavant. What about formatting cells? from the 1st dummy book. (Bolding/coloring certain field/category)

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table display

    Quote Originally Posted by ybu1106 View Post
    No, that doesn't work. My boss just doesn't like to see blanks and zeros. He prefers only seeing what is relavant.
    Perhaps someone can do it with VBA for you ... or google something like Hide Rows with blank cells" to find some code.

    Quote Originally Posted by ybu1106 View Post
    What about formatting cells? from the 1st dummy book. (Bolding/coloring certain field/category)
    Select column and go to Format|Conditional Formatting and select Formula Is from drop down menu... enter formula: =SEARCH("Total",B1) and click Format and choose from the tabs.

  9. #9
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Re: Pivot table display

    How do you also make the number/column next to Total with the same format?

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot table display

    Remove the current conditional formula.

    Then select both columns and re-invoke CF and use formula:

    =SEARCH("Total",$B1)

  11. #11
    Registered User
    Join Date
    06-14-2010
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003
    Posts
    84

    Re: Pivot table display

    Thanks for your help, once again.

+ 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