alpha numeric sorting

T

troubled

I have a list of names, a comma, then numbers. How do I sort by the numbers.
example

John Doe,245
jane Doe,123
Robert k,999
Dan Doe,522 Sort to

Jane Doe,123
John Doe,245
Dan Doe,522
Robert K,999

Thanks
 
J

Jacob Skaria

You can using a helper column

--With the data in Col A apply the below formula in ColB cell B1 and copy
down.
=0+MID(A1,FIND(",",A1)+1,99)

--This will extract the numbers..Select ColA and ColB.; Sort by ColB. Once
sorted you can remove ColB or keep it hidden...(for future sorts..)

If this post helps click Yes
 
D

David Biddulph

Data/ Text to columns, with comma as delimiter, then select both columns and
sort by the second column.
 
L

LXG

=RIGHT(A1,3)
where A1 equals first data then copy down then sort
assumes all right three characters are numbers
 

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