+ Reply to Thread
Results 1 to 4 of 4

Sorting cells with #NA error where the error is desired for charting

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    Cadiz, KY
    MS-Off Ver
    2016
    Posts
    6

    Sorting cells with #NA error where the error is desired for charting

    Hello All,

    Does anyone know a way to sort #NA errors to the bottom of a list? I read a few posts that recommend eliminating the error condition - BUT THAT IS NOT THE DESIRED SOLUTION.

    I want the errors because the list is used in charts and the #NA value is skipped as a data point.

  2. #2
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Sorting cells with #NA error where the error is desired for charting

    These are charting data points but you don't care about their order?

    Anyway, the simple approach would be adding a column with formulas like =COUNT(X99). When X99 evaluates as a number, that returns 1; otherwise, it returns 0. Sort on that column first in descending order (so all rows with numbers would be on top, all rows with #N/A on the bottom) then on the other columns as you need them sorted.

  3. #3
    Registered User
    Join Date
    06-23-2010
    Location
    Cadiz, KY
    MS-Off Ver
    2016
    Posts
    6

    Re: Sorting cells with #NA error where the error is desired for charting

    Hello htlngrv, order does matter. As I imagined, seems your recommendation is a helper column. Was just trying to avoid that. THANKS!

  4. #4
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Sorting cells with #NA error where the error is desired for charting

    Far more often than not, additional cells with additional formulas provide the simplest and most robust ways to do things in spreadsheets.

+ 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] Bar Graph/Charting Error
    By Sam987 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-01-2020, 04:26 PM
  2. Help Charting and Sorting with Merged Cells
    By cherber2 in forum Excel General
    Replies: 1
    Last Post: 03-17-2014, 09:32 AM
  3. [SOLVED] IFERROR function not returning desired error message?
    By andimaemae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2012, 11:24 AM
  4. VBA error in charting function. Help!
    By 3PhaseMacroMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2005, 01:45 PM
  5. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  6. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM
  7. [SOLVED] Charting - Cells and Range - Error 1004
    By vbaprog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2005, 04:06 AM

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