sort a range of numbers ignoring preceding letters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a range of reference IDs that are in the format:
AAA ###.### (eg ABC 123.456)
I wish to sort the range based only on the numbers in the ID (ignore any
text preceding the numbers).
I can use "text to columns" and then sort, but I was hoping there was an
easier way.
 
One way ..

Assuming data in A1 down

Put in B1: =MID(A1,SEARCH(" ",A1)+1,99)+0
Copy down

Then sort both cols A and B by col B
 

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

Back
Top