Sorting numbers with text

D

dena320

Hello,

I need to sort two colums - one is a date - example
3/20/2008
04/5/2008
5/07/2008
and then another column of numbers - example
2007A2563
2007B3546
2007A2873
I really need the numbers after the letter to be in order. The first
numbers just pertain to the year, the numbers after the letter are file
numbers.

Thanks for any help.
 
G

Gord Dibben

If the data is consistent as your example shows, I would break the column of
alpha numbers into two columns using data>text to columns>fixed width

Sort by new number-only column.


Gord Dibben MS Excel MVP
 
B

Billy Liddel

dena320 said:
Hello,

I need to sort two colums - one is a date - example
3/20/2008
04/5/2008
5/07/2008
and then another column of numbers - example
2007A2563
2007B3546
2007A2873
I really need the numbers after the letter to be in order. The first
numbers just pertain to the year, the numbers after the letter are file
numbers.

Thanks for any help.

If Gord's suggestion is not suitable you still need a helper column. Use
this to separate the numbers and sord the data.

=RIGHT(A1,LEN(A1)-4)

It assumes that the first 4 number will always be the year.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top