+ Reply to Thread
Results 1 to 16 of 16

Excel 2007 : Zipcode sorting problem

Hybrid View

  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Zipcode sorting problem

    Quote Originally Posted by debrant View Post
    Were you able to do a sort so that it starts with "0" goes thru "9" and the zips with +4 are sorted thruout? For example
    01256
    01256-2000
    01277
    84454
    84666-4444
    93456
    When I sort it, all the 5 digit zips come first then the 9 digit after.
    Thank you.
    This is what I got after sorting and using my formula. You can delete column E after sorting.. your column D is the one you want.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  2. #2
    Registered User
    Join Date
    02-26-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Zipcode sorting problem

    Quote Originally Posted by NBVC View Post
    This is what I got after sorting and using my formula. You can delete column E after sorting.. your column D is the one you want.
    I understand the part about creating column E, but how do you end up with the values in D that have dropped the "-0000"?

    Do you think this can be simplified so that someone can add contacts and resort as needed? Seems amazing to me that something as common as a zip code sort is such a complicated problem! Thank you!

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Zipcode sorting problem

    Quote Originally Posted by debrant View Post
    I understand the part about creating column E, but how do you end up with the values in D that have dropped the "-0000"?

    Do you think this can be simplified so that someone can add contacts and resort as needed? Seems amazing to me that something as common as a zip code sort is such a complicated problem! Thank you!
    I left the D column as you had it, then I created the E column separately, and sorted by that column so that D remained untouched but sorted.

  4. #4
    Registered User
    Join Date
    02-26-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Zipcode sorting problem

    Quote Originally Posted by NBVC View Post
    I left the D column as you had it, then I created the E column separately, and sorted by that column so that D remained untouched but sorted.
    Sorry for late response...This is great thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1