+ Reply to Thread
Results 1 to 6 of 6

Hide 0 Value from Bar Chart

Hybrid View

  1. #1
    Registered User
    Join Date
    03-06-2020
    Location
    Qatar
    MS-Off Ver
    2019 Mac
    Posts
    7

    Hide 0 Value from Bar Chart

    Hi,

    How I can hide 0 value in Bar Chart, same chart needs to be updated regular basis (Using Counifs for getting data)
    See the attachment.
    Attached Files Attached Files
    Last edited by beenanu999; 03-07-2020 at 05:26 PM. Reason: Attachment missing

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,413

    Re: Hide 0 Value from Bar Chart

    Do you mean that you don't want to see a category if there are no values for it? If so, put this formula in G2:

    =SUM(B2:E2)

    and copy it down to the bottom of your data. Then apply AutoFilter to column G, and in the filter drop-down unselect zero.

    Your chart will now be compressed and only show the three categories that have values greater than zero. If your values change then you will need to reapply the filter, as this is not dynamic.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-06-2020
    Location
    Qatar
    MS-Off Ver
    2019 Mac
    Posts
    7

    Re: Hide 0 Value from Bar Chart

    Thanks Pete,
    I m looking for Dynamic.. bcz I need to extract the data from many projects in weekly basis.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Hide 0 Value from Bar Chart

    Chart update via pivot table and VBA
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Registered User
    Join Date
    03-06-2020
    Location
    Qatar
    MS-Off Ver
    2019 Mac
    Posts
    7

    Re: Hide 0 Value from Bar Chart

    Thanks a lot.... I will check and update you, please clarify if I want to use another work book how I can do that
    Last edited by beenanu999; 03-08-2020 at 10:16 AM.

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Hide 0 Value from Bar Chart

    Behind the chart you find a pivot table.
    The macro update the pivot table and the chart.

+ 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. Replies: 6
    Last Post: 02-04-2020, 03:47 PM
  2. [SOLVED] Hide chart when I hide rows
    By L.LEE in forum Excel General
    Replies: 1
    Last Post: 08-29-2018, 03:32 AM
  3. Replies: 11
    Last Post: 03-22-2018, 03:54 AM
  4. [SOLVED] hide chart data & chart
    By Lukael in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2014, 01:47 PM
  5. Hide DIV/o in chart
    By NoraG in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-13-2014, 12:34 PM
  6. Display/Hide chart
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2012, 11:29 AM
  7. 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

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