thanks
Mary
Create an additional column with this formula (Zip's in column A, I
started on row 2):
=LEFT(A2,5)
Double click the fill handle (the small square bottom left of the cell
selector, your mouse pointer changes to a cross when you hover over it)
to fill the formula down all the way to match your entries.
Now use the new column as the sort key.
Regards,
Jan Karel Pieterse
Excel MVP
It looks for hyphen. If that fails, it reproduces the whole
value, otherwise it gives the stuff to the left of the hyphen.
Best wishes
Bernard
=LEFT(TEXT(A1,"00000-0000"),5)
Then drag down.
--
Dave Peterson
ec3...@msn.com
You could insert a "helper" column next to the zip codes and enter this:
=Left(A1,5)
And copy it down as far as necessary.
Then, just select all pertinent columns, including the "helper" column, and
then sort on the "helper", and delete it later if necessary.
HTH
RD
"Mary" <Maryzz...@mail.com> wrote in message
news:424701c1df24$b5e624a0$3aef2ecf@TKMSFTNGXA09...