Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Automatically generating a city name based on entered zip code

I would like to be able to input a ZIP code in column E and have it
automatically generate the appropriate city name. I have thousands of
addresses to enter, and not having to enter the city would help me out a
great deal. An example would be much more helpful than just the formula as
I'm not used to using excel in such a way. (I never use it for formulas or
anything, so I don't understand the terminology a lot of the time)

Thanks,
Lycean
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Automatically generating a city name based on entered zip code

The first step is to download a list of zip codes from the usual sources.
Say cols E & F contain:

35004 Moody
35005 Adamsville
35006 Adger
35007 Alabaster
35010 Alexander City
35014 Alpine
35016 Arab
35019 Baileyton
35020 Bessemer
35022 Bessemer
35023 Bessemer
35031 Blountsville
35033 Bremen
35034 Brent
35035 Brierfield
35040 Calera
35042 Centreville
35043 Chelsea
35044 Childersburg
35045 Clanton
35046 Clanton
35049 Cleveland
35051 Columbiana

then put the desired zip code in A1 and in B1, the formula:

=VLOOKUP(A1,E:F,2,FALSE)
--
Gary''s Student - gsnu200908


"Lycean" wrote:

I would like to be able to input a ZIP code in column E and have it
automatically generate the appropriate city name. I have thousands of
addresses to enter, and not having to enter the city would help me out a
great deal. An example would be much more helpful than just the formula as
I'm not used to using excel in such a way. (I never use it for formulas or
anything, so I don't understand the terminology a lot of the time)

Thanks,
Lycean

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
can I auto fill zip code column when city is typed Elsie C. Excel Worksheet Functions 1 September 28th 06 08:40 PM
zip code to city, state function xcelentform Excel Worksheet Functions 1 May 18th 06 11:59 PM
If I have the zip code can I make it put the city in another cell Carrie Excel Worksheet Functions 5 May 18th 05 08:26 PM
How to code so cells or text automatically change color based on . lisamariehewson Excel Worksheet Functions 2 February 25th 05 10:10 PM


All times are GMT +1. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"