+ Reply to Thread
Results 1 to 8 of 8

autofill city and state when typing in zip code

  1. #1
    Registered User
    Join Date
    04-20-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    autofill city and state when typing in zip code

    I have one sheet that has a list of zip codes with the corresponding city and states set up with the zips in column a, cities in column b, and states in column c. I want to make a list of my customers but there are so many and instead of typing the cities and states I want them to autofill when I type in the zip code. I have no idea how to do this but I know there is a way to. I need a step by step direction on how to do this.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: autofill city and state when typing in zip code

    Hi and welcome to the forum

    I thing that you need VLOOKUP or INDEX & MATCH functions for this.

    Would you like to upload a small sample of your workbook and we'll show you to do it?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-20-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    4
    O yes I totally would. I have two separate ones. I haven't started the addresses yet because I wanted to figure this formula out first.

  4. #4
    Registered User
    Join Date
    04-20-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    4
    Where do I upload it?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: autofill city and state when typing in zip code

    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

  6. #6
    Registered User
    Join Date
    04-20-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: autofill city and state when typing in zip code

    i attached the zip codes book
    Attached Files Attached Files

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: autofill city and state when typing in zip code

    Apologize for the delay, but my Internet conection, has problems..

    So, we greate a Named List(Insert>>Names>>Define, for your zips, let;s say in F5, or enywhere you like(to any sheet)

    Then in G5, put this.

    =IF(F5="";"";INDEX(B2:B39;MATCH(F5;ZIP;0)))

    In H5, this

    =IF(F5="";"";INDEX(C2:C39;MATCH(F5;ZIP;0)))

    Change the semi-colons to comma.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-07-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: autofill city and state when typing in zip code

    I want to do the something. Can you help me? on two different table I have to different county's with all there towns and
    zip code and state. I want to be able to be able to just type in the zip code and auto fill the town, county, and country. is this possible ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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