+ Reply to Thread
Results 1 to 7 of 7

Hiding zero values on a Stacked Column Graph

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Hiding zero values on a Stacked Column Graph

    We have a stacked Column Graph for all the elements of our budget, but some departments only spend in a few areas, how can I make the graph only show columns or rows that have values other than zero?

    I am using Spreadsheet server with SAP, so the data changes month to month, but SS has a hide zero value function. Unfortunately I can truncate the data source but not the graph?

    I would greatly appreciate any suggestions.

    Thanks - Grasstoe

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Hiding zero values on a Stacked Column Graph

    copy your data to another column using this formula

    =IF(A1=0,NA(),A1)

    and plot your graph from that column. #N/A errors are ignored by Excel when plotting graphs.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Hiding zero values on a Stacked Column Graph

    Thank You Glenn,

    Alas the $s and even the labels continue to show up as NA or blank if I replace NA() with "". but the space remains the same. So it is cleaner. What I would ideally like to see is only rows where data does not equal zero.

    Maybe Spreadsheet server complicates things with data that can be zero today and populated the following month?

    I tried both selecting from the new columns and building again from scratch but all the rows came with it...

    Any other tricks to try?
    Cheers
    grasstoe

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Hiding zero values on a Stacked Column Graph

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Hiding zero values on a Stacked Column Graph

    Glenn,

    Here is a sample, the one flaw is that I had to render the Spread Sheet Server Data into values,
    but the error values are still showing so maybe a solution will work in SS as well..

    Hoping the attached will show up..?

    Thank You Glenn!
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Hiding zero values on a Stacked Column Graph

    I created a column for the data labels, with a blank instead of a zero or a #N/A, and selected it instead of cell values.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-09-2013
    Location
    Kennesaw, GA, USA
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Hiding zero values on a Stacked Column Graph

    Thank You Glenn,

    I have managed a similar result, even reducing the category name to a blank if there is no value, but that is the cleanest I can make it. In your attachment, how do we make "Printing" with no $ value hide or go away?

    a given cost center might only use a small number of expense categories out of the complete list. I would love for the graph to only show rows that have a value other than zero so that every row of the graph is relevant... The trouble is that we have enough different departments that the visible rows would be different for each department, and of course I would like one dynamic template rather than customize 30+ different ones...

    Maybe I need to INDEX or MATCH or some other way to keep the whole list and then rebuild the reduced no zero value list and draw the graph from there. Maybe the blank space would all be at the bottom... I have been reading through some of the solutions to other problems and I saw something like that... I will have to find a way to reverse engineer it!

    Cheers
    Stoph

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Combine Line Graph & Stacked Column Graph
    By CGreenie in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-07-2015, 12:09 PM
  2. [SOLVED] Stacked column graph
    By shreeja178 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-17-2014, 02:08 AM
  3. Hiding stacked bar data labels when the values are zero
    By ChrisRas in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-14-2013, 05:47 AM
  4. Help with Stacked Column Graph
    By rpatrick in forum Excel General
    Replies: 1
    Last Post: 04-18-2012, 04:51 PM
  5. Stacked column graph
    By Vikingex in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-04-2008, 02:53 PM
  6. [SOLVED] Creating a graph similar to a stacked column graph
    By Jonathan in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-04-2006, 11:30 AM
  7. [SOLVED] hiding zero values in stacked bar charts
    By WSU Cougar in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-04-2006, 04:25 PM

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