need to sort list of numbers by last numbers

lostcda

New Member
Joined
Mar 2, 2002
Messages
2
I have a cvs file i download and i need to sort the entire sheet by only one column and have the rest of the data stay with each number.the numbers i need to sort consist of 7-10 digits but i need to sort them by there last 2 or 3 digits.

43649995
3673973
893690394
103713542
3700453
any help would be great
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
On 2002-03-03 00:59, lostcda wrote:
I have a cvs file i download and i need to sort the entire sheet by only one column and have the rest of the data stay with each number.the numbers i need to sort consist of 7-10 digits but i need to sort them by there last 2 or 3 digits.

43649995
3673973
893690394
103713542
3700453
any help would be great

Lets say that these numbers are in A and the data start in row 2.

Insert a new column left to A.

Enter in (new) A2: =RIGHT(B2,2)+0 [ copy down as far as needed ]

Select everything from row 2 on.

Sort on column A (using No header row).
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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