+ Reply to Thread
Results 1 to 4 of 4

Separate Zip Code from City, State Zip Code

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    32

    Separate Zip Code from City, State Zip Code

    Through the kindness of forum member jhren, I was able to do almost everything I need to do through Excel. The last step is separating the Zip Code from City, State Zipcode. Here's the format that I'm using:

    A________________B__________________C__________________D______________________E____________________F
    Last Name________First Name__________empty column________street address___________City, State Zip Code____Zip Code (this is what I want to do).


    Here is the actual file that I'm using (courtesy of an amalgam of Jhren's work). Thanks for your help!
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Separate Zip Code from City, State Zip Code

    Looks like this should work...

    F2 >> =LEFT(E2,FIND(",",E2)-1)
    G2 >> =MID(E2,FIND(",",E2)+2,2)
    H2 >> =RIGHT(E2,5)
    HTH
    Regards, Jeff

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Separate Zip Code from City, State Zip Code

    1. This will give you the City name without Sate and Zip
    =TRIM(LEFT(E2,LEN(E2)-10))
    2. This will give you State
    =MID(E2,FIND(",",E2)+2,2)
    3. This will give ZIP
    =RIGHT(E2,5)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    935

    Re: Separate Zip Code from City, State Zip Code

    You will also need to unhide (and resize) many rows in your sheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. autofill city and state when typing in zip code
    By shughes6288 in forum Excel General
    Replies: 7
    Last Post: 01-07-2016, 12:35 PM
  2. zip code to city, state function
    By xip in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2012, 10:12 PM
  3. Web lookup query (have: city & state | want: zip code)
    By avatarr in forum Excel General
    Replies: 0
    Last Post: 04-07-2010, 10:49 PM
  4. zip code to city, state function
    By xcelentform in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2006, 07:10 PM
  5. [SOLVED] Extract city, state and zip code from a single cell
    By jajoseph@zoominternet.net in forum Excel General
    Replies: 6
    Last Post: 02-06-2005, 10:06 PM

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