+ Reply to Thread
Results 1 to 10 of 10

EXCEL Chart hide zeros

  1. #1
    Registered User
    Join Date
    06-13-2023
    Location
    Qatar
    MS-Off Ver
    Excel 365
    Posts
    7

    EXCEL Chart hide zeros

    Good morning, everyone!

    I am trying to create a dynamic chart in Excel. However, I want to hide the columns in Bar chart with contains zeros because it looks too much crowdy. I used the zero filters, but it hides for me the whole column. my problem that each category has 4 bar chart I just want to hide the bar which contain zero for that category but not to hide the category itself only if the category itself showed zero for all its bar chart.

    I hope that I have explained the question clearly.

    I will attach one picture to make it easier.

    Thank you!
    Attached Files Attached Files
    Last edited by ssMaramss; 06-13-2023 at 06:24 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,996

    Re: EXCEL Chart hide zeros

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-13-2023
    Location
    Qatar
    MS-Off Ver
    Excel 365
    Posts
    7

    Re: EXCEL Chart hide zeros

    Thank you mam for the instructions.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,993

    Re: EXCEL Chart hide zeros

    In the attached file I:
    1. Copied the data from B3:G16 to B18:G31
    2. Populated C19:G31 using: =IF(C4>0,C4,NA())
    3. Changed the 'Chart data range' to: =Sheet1!$B$18:$G$31
    Let us know if you have any questions.
    EDIT: Sorry, just realized that this doesn't help.
    Last edited by JeteMc; 06-13-2023 at 02:06 PM. Reason: Added edit
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,993

    Re: EXCEL Chart hide zeros

    Try this:
    1. Select a data label
    2. Right click
    3. Select Format data labels
    4. Select Number
    5. In the category window select custom
    6. In the format code window type 0;;
    7. Select add
    Note that this will need to be done for each severity level
    Let us know if you have any questions.

  6. #6
    Registered User
    Join Date
    06-13-2023
    Location
    Qatar
    MS-Off Ver
    Excel 365
    Posts
    7

    Re: EXCEL Chart hide zeros

    Many Many Many Thanks. it worked.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,993

    Re: EXCEL Chart hide zeros

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  8. #8
    Registered User
    Join Date
    06-13-2023
    Location
    Qatar
    MS-Off Ver
    Excel 365
    Posts
    7

    Re: EXCEL Chart hide zeros

    Sir, where can I find the solved option. I cannot see it. can you direct me please.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,993

    Re: EXCEL Chart hide zeros

    On my computer, when I look at the sentence in your first post "I used the zero filters, but it hides for me the whole column", the Thread Tools menu is directly above the words "hides for me".

  10. #10
    Registered User
    Join Date
    06-13-2023
    Location
    Qatar
    MS-Off Ver
    Excel 365
    Posts
    7

    Re: EXCEL Chart hide zeros

    Thank you, sir, I have done it.

+ 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. [SOLVED] Hide Zeros ?
    By Billy Spivy in forum Excel General
    Replies: 11
    Last Post: 02-02-2018, 03:43 PM
  2. HIDE ZEROS IN CHART - Hide rows of cells that equals zero
    By sweedey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2011, 08:18 PM
  3. Bar graph: Hide zeros
    By Pingvinfan in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-25-2009, 06:49 AM
  4. Hide the Zeros at print time
    By KellyPSmith in forum Excel General
    Replies: 2
    Last Post: 08-07-2008, 11:27 AM
  5. Replies: 2
    Last Post: 02-22-2008, 11:18 AM
  6. [SOLVED] Unwanted Zeros in Excel Chart Displayed Values
    By Daniel Compton in forum Excel General
    Replies: 4
    Last Post: 04-25-2006, 11:15 AM
  7. Hide Zeros
    By PaulOakley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-03-2006, 10:40 AM

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