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 there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Excell Sorting question

  • 27-01-2005 11:57am
    #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: 93,604 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: 93,604 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