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

kuttai

New Member
Joined
Jun 12, 2007
Messages
2
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
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top