![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 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 |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
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). |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
Thanks Aladin that worked for what i wanted.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|