+ Reply to Thread
Results 1 to 4 of 4

Sorting numbers in a specific way?

  1. #1
    Registered User
    Join Date
    04-28-2006
    Posts
    51

    Sorting numbers in a specific way?

    Hi,

    I was wondering if it is possible in excel to sort numbers in a slightly different way the usual.

    If you sort a series or numbers normally you will get:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    etc

    I'd like to make it so numbers are sorted like this:
    1
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    2
    21
    22
    23
    etc


    So number 2 would go after 19 and number 3 will go after 29.

    Another GIS program I use sorts numbers this way and I'd like to match them up.

    Thanks!

    Dino

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Dno
    Hi,

    I was wondering if it is possible in excel to sort numbers in a slightly different way the usual.

    If you sort a series or numbers normally you will get:

    1
    ~~
    23
    etc


    So number 2 would go after 19 and number 3 will go after 29.

    Another GIS program I use sorts numbers this way and I'd like to match them up.

    Thanks!

    Dino
    Hi,

    in a helper column use =Text(A1,0) and sort on the helper column with 'separately' to the 'Numbers' question.

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    04-28-2006
    Posts
    51
    nice one =)

    That works perfectly.

    Thanks for your help.

    Have a great day!

    Dino

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Dno
    nice one =)

    That works perfectly.

    Thanks for your help.

    Have a great day!

    Dino
    good to see it worked for you, and thanks for the response.

    ---

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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