+ Reply to Thread
Results 1 to 7 of 7

Chart range that skips non-numerical values

  1. #1
    Registered User
    Join Date
    02-02-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    13

    Chart range that skips non-numerical values

    Hi all,
    I am trying to make a chart that skips points that are not numbers. For the x-axis my values are coming from this named range formula (paintMSdatapointnumber) which shows the last specified number of values.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I thought with the count function it would skip the "" cells, but it appears that is not the case. The cells that appear blank have formulas in them that result in "" if there is no data entered into the parent cells.
    The y values are the above names range with the column offset.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I attached the sheets.
    Can I make this work, or should I start over with a different strategy?
    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,100

    Re: Chart range that skips non-numerical values

    Unfortunately, the way you have saved the file, some of the references are external to files which are not present. So our ability to do anything is limited.

    If you are trying to get Excel to skip blanks.... make the formula return the #N/A error instead of a blank: =IF(X="",NA(),Y) so you get #N/A returned. If you don't want to see all those ugly errors, you can always use conditional formatting to give them a white font colour.

    However, as it stands, I can't muck around with the sheet. I don't know where the data are/don't have access to the data.
    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

  3. #3
    Registered User
    Join Date
    02-02-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    13

    Re: Chart range that skips non-numerical values

    Ah sorry about that. I think I fixed the references for the ranges, and deleted all the extras.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-02-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    13

    Re: Chart range that skips non-numerical values

    I don't mind making the it display #N?A, however with the my current formula for numbering if one cell displays #N/A, all subsequent cells below also display #N/A. Any idea for a workaround on that?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    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,100

    Re: Chart range that skips non-numerical values

    This appears to be the same file as the first time. Where are the #N/A errors? The charts are looking for a file on your S drive as the source...

    You really need to ttell us where we are supposed to be looking. You have 00s of rows of data.

  6. #6
    Registered User
    Join Date
    02-02-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    13

    Re: Chart range that skips non-numerical values

    My apologies, did I get all the incorrect references out this time?

    I did not save the version where I told it to give the G column an #N/A. But if you change the formula in the G column from
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then all the values under the first #N/A are returned as #N/A

    The MS % Recovery Chart is taking x-axis labels from G669:G767 and Y values from K669:767. The formulas for the x and y ranges are named.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Chart range that skips non-numerical values

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 5
    Last Post: 03-28-2015, 03:48 PM
  2. Add All Values in Range, Whether Numerical or Not
    By Esuric in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-16-2014, 04:17 PM
  3. Replies: 2
    Last Post: 06-25-2012, 02:10 PM
  4. Replies: 7
    Last Post: 11-10-2009, 09:42 AM
  5. Avoiding non-numerical values in a range
    By wwsd in forum Excel General
    Replies: 5
    Last Post: 01-01-2009, 05:50 PM
  6. how do i create a pie chart in excel with non-numerical values?
    By feirin in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-31-2006, 11:50 PM
  7. [SOLVED] Scatter chart without numerical values
    By Fred Geiger in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-26-2005, 03:05 AM

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