Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back a page or two to re-sync the thread and this will then show latest posts. Thanks, Mike.

Excell Sorting question

  • 27-01-2005 12:57pm
    #1
    Registered Users, Registered Users 2 Posts: 2,199 ✭✭✭


    I have an aplhanumeric list I want sorted, say 1, 1A, 2, 2A, 2B, 3, 4, 5 etc

    when i go to sort it in excell it shows it up like this 1, 2, 3, 4, 5, 1A, 2A, 2b.

    is there a way to sort it like the first way without having to do it manually


Comments

  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 92,385 Mod ✭✭✭✭Capt'n Midnight


    Make sure that all the cells are formatted as text and not number/general

    or when entering the data try '1 '2 etc.


  • Registered Users, Registered Users 2 Posts: 2,199 ✭✭✭Keeks


    nope no luck


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 92,385 Mod ✭✭✭✭Capt'n Midnight


    Ugg - it's messy - splitting out the letters would be the best option and put into a two hidden column

    b1=code(upper(value(a1))) - remove the last car and get it's ascii
    c1=b1 x mod(b1,64) - convert the ascii of all numbers to 0 so at start of list.

    also look at..
    =value(A1) to ID which cells have letters
    =right(A1) to strip the letter , but if no letter then returns a number
    =code(right(a1)) the ascii of the last character
    =len(a1) the length of the string - but 10 is as long as 1a
    =char(64) - generates a character from ascii.


Advertisement