data sorting problem

WATKINS

New Member
Joined
Apr 24, 2002
Messages
2
I have a large list of file reference numbers in the form 12/34/56789, which I need to sort by the last 2 digits only. Unfortunately each number is confined to a single cell. Rather than transfer by hand to a separate cell is there any way to isolate and sort the numbers I'm interested in? A further complication is that initial zeros are omitted: ie 12/34/(000)89, so the numbers are of varying length.

philip
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi
Place this formula in an un-used column:

For example:

Your "12/34/56789" numbers are in column A
beginning at row 2 and going to row 2000

Place this in an unused column in row 2:

=Right(A2,2)

Copy the formula down to row 2000
Now sort using the new column as the key.

Tom
This message was edited by TsTom on 2002-04-25 04:46
 
Upvote 0
fast response Tom, thanks. I knew about delimiting but that wouldn't have done the whole job here. you've saved me and my co-workers quite a bit of time.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

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