+ Reply to Thread
Results 1 to 3 of 3

Hide Labels with zero values in a Graph

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Hide Labels with zero values in a Graph

    Hi... i'm dealing with a problem here...
    I'm creating a simple graph with values earned in each month, but i have all 12 month and ofcourse there are lots of months that are still at zero value. So how do i supress them from showing in the graph?. By other mean, i want the graph to show only labels in x axis that haves values diferent from 0 in y axis.
    I added a sample workbook where i have letters from A to J with values and E, F and I have zero values. So i want E, F and I to dissapear from x axis. Is this possible?
    Thank you.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Hide Labels with zero values in a Graph

    You can copy column C, and paste it in column B.
    Then put this formula in C5 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please click the * icon below if I have helped.

  3. #3
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Re: Hide Labels with zero values in a Graph

    This makes the label disappear indeed, but i didn't made myself clear....
    I need it to really disappear from the graph. Like shorten the graph automaticaly...
    So if the value is zero, the space from graph dedicated to E, F and I value disappear.
    This way the label disappears, but the empty space stays between the graph :/

    I can supress zeros using dynamic table, but have to do this every time i update the values in the table, so i need something that do this automaticaly, so everytime i update the values, the graph hides zero values labels and space or show them again if value is diferent of zero.
    Thank you

+ 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