Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Aug 2003
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to sort by digit (excel 2003)

    Hello
    I want to sort my data as following format
    1001
    1002
    101
    1010
    102
    basically, it sort according first , second , and third etc digit.
    please someone can help.
    thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: how to sort by digit (excel 2003)

    In fact, you want to sort numbers as text. Say that your data are in A1:A5. In cell B1, enter the formula

    =TEXT(A1,"@")

    and fill down to B5 (or as far as needed). Sort the data on column B. You can then delete column B, or hide it.

  3. #3
    Star Lounger
    Join Date
    Aug 2003
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: how to sort by digit (excel 2003)

    thanks Hans
    it works great.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •