+ Reply to Thread
Results 1 to 16 of 16

Please HELP! Custom Sort List

Hybrid View

  1. #1
    Registered User
    Join Date
    06-29-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Please HELP! Custom Sort List

    I seem to be stumped. It seems you are trying to turn the text into a number which we can sort by number.

    Is there another way to rewrite the custom sort list so it will sort the way I want it to?

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Please HELP! Custom Sort List

    Quote Originally Posted by Jwildcat View Post
    I seem to be stumped. It seems you are trying to turn the text into a number which we can sort by number.

    Is there another way to rewrite the custom sort list so it will sort the way I want it to?

    What my formula did is strip the "Text " part away, to be left only with letters or numbers, then to determine the character code of that letter or number

    Where A = 65 by default, B = 66. But 1 = 49, 2 = 50, so if it was a number and not a letter, I am adding 122 (which is the code for lowercase "z") to the characters code value, to make sure letters are always LOWER code values than numbers

    Resulting in 1 = 171, 2 = 172, and so on, while
    A = 65, B = 66

    So they will sort by Letters, then Numbers

    Looks like newdoverman also came up with a similar angle of attack, looks like it has the same disadvantage as mine though, multiple digits won't sort


    I don't really have any experience with the custom sort lists unfortunately, I'm sure someone will be by though!
    Last edited by Speshul; 07-29-2014 at 02:56 PM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Please HELP! Custom Sort List

    How many variations of words are there before the character to sort by?

    Or, is it always two words? Is there a special character at the end before the number? (for example, "This is the data: 2")

+ 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. custom list does not sort
    By Matt Lunn in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 04:05 AM
  2. [SOLVED] Excel sort by Fill Color by custom list sort
    By Dash4Cash in forum Excel General
    Replies: 2
    Last Post: 07-29-2005, 06:05 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