+ Reply to Thread
Results 1 to 9 of 9

excel REFUSING to ignore #N/A

  1. #1
    Registered User
    Join Date
    12-12-2014
    Location
    NYC
    MS-Off Ver
    2010
    Posts
    43

    excel REFUSING to ignore #N/A

    I don't want series with #N/A or NA() values plotted. Excel normally should ignore #N/A values and not plot them. Unfortunately Excel is deciding to plot #N/A as zero values. What's going on? File is attached, and I also did a screen capture which can be seen at the following link.

    http://s17.postimg.org/7gfqc615r/excel.png
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: excel REFUSING to ignore #N/A

    Your formula is...
    =IF(C5="Impossible","Impossible",#N/A)
    C5=1, so the answer of #NA is correct

    As long as the row of data is there, excel will try to plot it. Can you hide the row?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-12-2014
    Location
    NYC
    MS-Off Ver
    2010
    Posts
    43

    Re: excel REFUSING to ignore #N/A

    http://stackoverflow.com/questions/1...or-blank-cells

    According to threads such as the one above Excel, while plotting, is supposed to ignore series if they only contain values of #N/A or NA(). My "mango" series only contains values of #N/A but Excel continues to plot it as zeros. I'm just stuck at this point.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: excel REFUSING to ignore #N/A

    but the series mango is still exists but just has 0 values
    hide the row() ie row 6
    btw this is also x-posted with a different username ar mrexcel
    http://www.mrexcel.com/forum/excel-q...apture-ca.html
    Last edited by martindwilson; 01-02-2015 at 07:51 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: excel REFUSING to ignore #N/A

    As long as the row of data is there, excel will try to plot it. Can you hide the row?

    Even when there is nothing in A6, it will still show

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: excel REFUSING to ignore #N/A

    another option is to hide with filter
    apply filter to a1:a8
    filter to ignore mango

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: excel REFUSING to ignore #N/A

    @ Martin, nice slick way to hide the row

    I even tried to create a new table, using index/small, then tried to use OFFSET in the chat range, but it wouldnt accept that function

    J
    K
    L
    M
    N
    O
    1
    MON
    TUES
    WED
    THURS
    2
    Oranges
    1
    3
    6
    0
    10
    3
    Bananas
    0
    0
    5
    0
    5
    4
    Pears
    0
    4
    0
    2
    6
    5
    Grapes
    0
    1
    3
    0
    4
    6


    =COUNTA(OFFSET($J$1,0,0,COUNTA($J:$J),COUNTA($K$1:$Q$1)+1))

  8. #8
    Registered User
    Join Date
    12-12-2014
    Location
    NYC
    MS-Off Ver
    2010
    Posts
    43

    Re: excel REFUSING to ignore #N/A

    http://stackoverflow.com/questions/1...or-blank-cells

    Do you think the stackoverflow thread above is BS? About halfway down Mike Rhodes (with 4 verifications) claims that series with #N/A data get ignored by Excel's charting system. As you guys see Excel isn't ignoring the #N/A in my spreadsheet. It is setting their values equal to 0 and including "mango" series on the plot.

    Google can't even save me tonight.

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: excel REFUSING to ignore #N/A

    try this attachment ,this is simple

    to make it dynamic to only include the ranges you need read here
    http://peltiertech.com/Excel/Charts/...umnChart1.html
    Attached Files Attached Files

+ 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: 12
    Last Post: 07-04-2013, 07:26 AM
  2. Macro refusing to honor set range.
    By Amejin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2010, 07:50 AM
  3. Data Validation Refusing to Work
    By excelDWS in forum Excel General
    Replies: 1
    Last Post: 01-10-2008, 12:34 AM
  4. How do I ignore cells in Excel?
    By Ray A in forum Excel Formulas & Functions
    Replies: 48
    Last Post: 09-06-2005, 07:05 AM
  5. How do I ignore cells in Excel?
    By texanfanrocket in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-09-2005, 07:05 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