Help! Sorting problem

A

Alistair Mitchell

I need to sort a list of alphanumeric values in excel using the numeric part
of the value only. All the values have the format AB123456C but I need the
whole value to show after the sort, not just the numeric part.

Can this be done?

Alistair
 
G

George Nicholson

Assuming your data is in an unbroken list: Add a new column. Insert the
formula =MID(A1,3,6) and copy down to the length of your data. This should
give you just the numerical part of your value. Now you can sort on it.

Whether you chose to display this column after the sort is up to you.
 
A

Alistair Mitchell

Thanks

Alistair


George Nicholson said:
Assuming your data is in an unbroken list: Add a new column. Insert the
formula =MID(A1,3,6) and copy down to the length of your data. This should
give you just the numerical part of your value. Now you can sort on it.

Whether you chose to display this column after the sort is up to you.
 

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