+ Reply to Thread
Results 1 to 6 of 6

Stop *N/A in bar chart column

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

    Stop *N/A in bar chart column

    In the attached spreadsheet how do I stop the *N/A when a chart column is blank. For some reason I have managed to get a zero (which is acceptable) in the other bar charts in columns BJ:CC but for the life of me I dont know how I managed that.
    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
    24,725

    Re: Stop *N/A in bar chart column

    If you look at the formula in AA30, i.e.:

    =IF(AC30=0,NA(),((E30+X30)-(Y30+Q26))*105%)

    the red part shows how you are getting #N/A in that cell. The formula in AJ30 (which drives the graph to the right) does not have the IF, but if you change the NA() to zero then that is what you will return.

    Hope this helps.

    Pete

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

    Re: Stop *N/A in bar chart column

    When I change:
    =IF(AC30=0,NA(),((E30+X30)-(Y30+Q26))*105%)
    To
    =IF(AC30=0,0(),((E30+X30)-(Y30+Q26))*105%)

    I get an error warning. Am I misunderstanding.

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

    Re: Stop *N/A in bar chart column

    Change it to this:

    =IF(AC30=0,0,((E30+X30)-(Y30+Q26))*105%)

    The two brackets belong to the NA() function.

    Hope this helps.

    Pete

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

    Re: Stop *N/A in bar chart column

    Many thanks Pete_uk that is now working.

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

    Re: Stop *N/A in bar chart column

    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. How to stop lines in a line chart?
    By nickFe in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-08-2011, 12:51 AM
  2. How do I stop Pivot Chart changing chart type by itself?
    By lealea1982 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-03-2008, 07:49 AM
  3. Stop Pivot Chart Re-Formatting itself?
    By littleIdiot in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-03-2007, 03:27 PM
  4. How can I stop a line in the middle of a chart?
    By Robert Brown in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-25-2006, 01:00 PM
  5. Stop chart lines going to zero
    By Tom H in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 03-06-2006, 09:55 AM
  6. [SOLVED] stop chart series from updating
    By johnmoreland21 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-03-2005, 04:05 PM
  7. Want chart to stop rather than goto zero
    By h3nry5 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-20-2005, 01:06 PM
  8. How to chart start and stop times
    By tresscott in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-10-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