+ Reply to Thread
Results 1 to 9 of 9

Omit #N/A from numerical data for chart

  1. #1
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Nottingham
    MS-Off Ver
    Office 2016
    Posts
    355

    Omit #N/A from numerical data for chart

    I have a worksheet with the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    'Washer 1'!C3 contains Numerical Data

    How can I create a chart that will omit the #N/A cells, and only display the numerical data returned by the remaining cells?

    I know for Conditional Formatting #N/A bust be searched as =ISERROR, but can't find how to make a chart ignore these cells.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Omit #N/A from numerical data for chart

    Start your chart from row 2...

    =SERIES(,Fails!$A$2:$A$821,Fails!$B$2:$B$821,1)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Nottingham
    MS-Off Ver
    Office 2016
    Posts
    355

    Re: Omit #N/A from numerical data for chart

    Hi Glenn

    I know I have a lot to learn still with Excel - i used to think I was quite proficient.

    Here is where my issue is. If I use Column D of the "Fails" worksheet to filter out the results, and omit N/A, but because I am using NA() as my FALSE in my IF Statements, in D24 it doesn't show the value of C24 because B24 is =ISERROR.
    I need to be able to create a chart that displays the results of Washer 1 AND Washer 2, but omit any null value.

    It doesn't seem to matter what I use for my FALSE: "#N/A", NA(), "", etc, and whether that is in B/C or D I don't seem to be able to get a chart that works.

    if I use "#N/A" as my FALSE in Column B, then D24 displays C24 value, but the then chart displays dots along the 0 axis where it seems to interpret #N/A as 0.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Omit #N/A from numerical data for chart

    I'm still not entirely sure what the objective is....


    =IF(SUM(IF(ISERROR(B2:C2),1,0))=2,"Hide","")

    copied down??
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Omit #N/A from numerical data for chart

    I agree that I am a bit confused.

    When I opened your original sample file in post #1 and pull up the Select Data dialog to see how the series are defined, I notice that the "name" field for each series refers to rows 1 to 809. The only plotted point is for row 810. Was this your intention, or did Excel misunderstand what you wanted when you created the chart?

    If I guess at what you want, I:

    1) In "Fail," I clear the filter from Hide so I can see the entire table.
    2) In "Failures," I bring up the select data dialog. For each data series:
    2a) Enter "Washer#" in the name field.
    2b) Enter A2:A821 in the X values field.
    2c) Enter B2:B821 or C2:C821 in the Values field.

    With those changes, the chart looks like what I would expect. The chart is ignoring the N/A error values, as expected, and showing the real values. I can use the Hide column in Fails to filter the missing values from the table.

    Does that work?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Nottingham
    MS-Off Ver
    Office 2016
    Posts
    355

    Re: Omit #N/A from numerical data for chart

    Hello both, and thank you for your patience.

    I have completed and attached the steps as suggested by MrShorty, but my chart appears to only show 7/5/17 - 23/5/17.

    If I can explain what I am trying to achieve: Ultimately I will have 9 Washers, each with their own Sheet. "Fails" looks to these and pulls across all of the failed readings - anything over 5.0. From the "Fails" worksheet I want to produce a chart that displays the date and value of any of the failed readings, but not displaying any of the other washers for that day if they all passed - i.e. if washer 1 reads 10, washer 2 reads 15 I would expect to see 2 dots above the relevant date, but not see the 7 dots for the washers that passed on the same date.
    This is why I was trying to use the "hide" column in "Fails" to allow me to see if there was ANY value in the 2 (ultimately 9) columns, so if in 12 months I only got 2 failed readings my chart would only display 2 dates, and 2 dots.

    I am hoping that clarifies what I am trying to achieve in this workbook.
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Omit #N/A from numerical data for chart

    That might be messy. It will certainly LOOK messy. Why not bring the date over NEXT to the chart, showing ONLY washer name and fail dates for each washer separately?

    Would that work for you?

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Omit #N/A from numerical data for chart

    See sheet 1.

    =IFERROR(INDEX(Fails!$A:$A,AGGREGATE(15,6,ROW(Fails!$B$2:$B$821)/(NOT(ISERROR(Fails!$B$2:$B$821))),ROWS(S$2:S2))),"")

    copied across and down.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Nottingham
    MS-Off Ver
    Office 2016
    Posts
    355

    Re: Omit #N/A from numerical data for chart

    Hi Glenn

    I think with what the Powers That Be are wanting to achieve I think this is the best fit for them.

    Hopefully, once live data is added, and with the use of CF Duplicates any trends will be easier to identify.

    Thank you so much for the help.

+ 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. Omit data point from chart if corresponding value is 0
    By hai_krk in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-15-2018, 06:17 PM
  2. Creating a chart using non numerical data
    By rocketgirl in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 07-18-2015, 12:44 PM
  3. Non numerical data and Dynamic Chart/Graph
    By parduezy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-27-2013, 03:47 PM
  4. How to get a chart of the sum of product numbers (non-numerical data)
    By amoussa83 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-26-2013, 08:25 AM
  5. Need help making comparison chart with non-numerical data
    By dgsell in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-15-2013, 02:58 PM
  6. [SOLVED] How to omit data in a chart when there are error values?
    By Bou in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-10-2005, 04:05 PM
  7. [SOLVED] Non-numerical data in a pie chart
    By Gina O'Brien in forum Excel General
    Replies: 1
    Last Post: 05-13-2005, 01:06 PM

Tags for this Thread

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