Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a column in Excel with entries like

TI/303
BA/045
BA/009
AB/123

I would like to sort it by the numbers ignoring the first three characters like

BA/009
BA/045
AB/123
TI/303

How can I achieve such a custom sorting in Excel?

share|improve this question

1 Answer 1

Use a "helper" column........with your data in column A, in B1 enter:

=--MID(A1,4,9999) and copy down

Then sort cols A & B by B.

share|improve this answer
    
That's what I do. @Gary Is there another way to do this? –  Vinay Challuru Mar 1 '14 at 6:22
1  
You could create a macro to do the same type of logic..............this would avoid the need for a "helper column" –  Gary's Student Mar 1 '14 at 12:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.