How can I sort in terminal digit order, a widely used filing

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: How can I sort in terminal digit order, a widely used filing

  1. #1
    New Member
    Join Date
    Jun 2007
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default How can I sort in terminal digit order, a widely used filing

     
    How can I sort numbers in terminal digit order, a widely used filing system in Medical Records Department?

    2145 02
    2146 02
    2147 02

    9998 03
    9999 03
    0000 04
    0001 04

    OR

    24 89 01
    25 89 01
    26 89 01

    98 99 02
    99 99 02
    00 00 03
    01 00 03

    99 00 03
    00 01 04
    01 01 04

    Thanks in advance

  2. #2
    Banned
    Join Date
    Jul 2006
    Location
    Northeast Pennsylvania
    Posts
    3,656
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    kuttai,

    Welcome to the board.

    Please post examples of your data before it is sorted, and what should that data look like after it is sorted.

    Have a great day,
    Stan

  3. #3
    New Member
    Join Date
    Jun 2007
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    The data I provided is already sorted manually. The data usually comes without any order.

    Thanks for your immediate response. Once again thanks in advance.

  4. #4
    MrExcel MVP
    Join Date
    May 2002
    Posts
    14,186
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    use a string parsing function (like right(a1,2) ) to extract the terminal digits into a new column & sort on the 2 columns, the new one first.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com