+ Reply to Thread
Results 1 to 4 of 4

Dont want zero data showing in bar chart

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-03-2010
    Location
    scotland,uk
    MS-Off Ver
    Excel 2007
    Posts
    186

    Dont want zero data showing in bar chart

    Using columns B:E as the example , I have totals in column E from E4:E12
    This is shown on the bar chart `Gas` although cells E13:E19 do contain a formula they remain blank until the data is added.

    Due to E13:E19 containing a formula this is shown on the bar chart.

    Is it possible to not having anything showing in the bar chart for E13:E19 until data is added in column D.

    Example attached.
    Attached Files Attached Files

  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,411

    Re: Dont want zero data showing in bar chart

    I don't think your existing formula for the gas total in E4, i.e.:

    =AA4+AB4-AC4+(5%)

    is correct. This will always add the value of 5% (i.e. the numerical value 0.05) onto the costs, so it will add 5p to those costs. I think you should have:

    =(AA4+AB4-AC4)*105%

    You can ensure that no values are shown on the chart by changing the formula in E4 to this:

    =IF(Y4=0,NA(),(AA4+AB4-AC4)*105%)

    and copying that down. You will see #N/A in the cells from E13 onwards, but you can hide those by applying conditional formatting to the cells (use white foreground if the cell contains an error).

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    05-03-2010
    Location
    scotland,uk
    MS-Off Ver
    Excel 2007
    Posts
    186

    Re: Dont want zero data showing in bar chart

    Thanks for the correction, and the formula for the bar chart works good.

    thank you

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

    Re: Dont want zero data showing in bar chart

    You're welcome - thanks for the rep.

    Pete

+ 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] Chart not showing all data
    By dave1983 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-05-2021, 12:20 AM
  2. [SOLVED] Line Chart Axis showing 260 instead of 100 - all data is under 100???
    By CHillFL in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-05-2016, 02:00 PM
  3. Chart dont update when source data changes
    By Masun in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-23-2015, 12:34 PM
  4. Column/Bar chart showing NEW data in a different color
    By justinpeeler in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-21-2014, 04:43 AM
  5. Replies: 1
    Last Post: 09-13-2009, 11:27 PM
  6. chart issues not showing the right data
    By cardenmf in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-03-2008, 01:42 PM
  7. [SOLVED] Data not showing on my chart
    By kalyhan in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-03-2005, 06:06 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