Sort House Numbers

  • Thread starter Thread starter mike gee
  • Start date Start date
M

mike gee

How can I get excel to sort house numbers as I would like, i.e
1,2,2a,3,4,5,5a,5b, et. etc.
So far I've ailed miserably. Any help out there? TIA
Mike G
 
Use a helper. Say your data is in column A. If your
numbers down go higher than 9, use this in B1:

=LEFT(A1)*1

and fill down. Now select both columns and sort ascending
on column B.

If they are higher than 9, use:

=LEFT(A1,MAX(IF(ISNUMBER(MID(A1,ROW(INDIRECT("1:"&LEN
(A1))),1)*1),ROW(INDIRECT("1:"&LEN(A1))))))*1

and press ctrl/shift/enter before filling down.

HTH
Jason
Atlanta, GA
 

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