Sort - alphanumeric.

B

Brad

I have numerical data with alphabetical prefixes in a column.

This is what I get when I sort:
C1,C10,C2,C8,R1,R10,R11,R2

This is what I want when I sort:
C1,C2,C8,C10,R1,R2,R10,R11.

How can I do this?
 
P

Peo Sjoblom

You need to extract the numbers into ahelp column and sort by the help
column, if indeed you only have a letter in the string you can use

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

copy down, select both columns and sort by the help column
 

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