ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   can I auto fill zip code column when city is typed (https://www.excelbanter.com/excel-worksheet-functions/112092-can-i-auto-fill-zip-code-column-when-city-typed.html)

Elsie C.

can I auto fill zip code column when city is typed
 
I am using excel 2003 and am typing a customer list of 3,000 names. I found
once I type a name, when I begin to type it again, the program AUTO FILLS it
, which is great because it cuts down on my actual typing. Therefore, I want
to know if there is some way to set up my worksheet so once I type the CITY
name in one column the ZIP CODE column will auto fill with the correct
corresponding numbers. I tried defining a city name and making a formula to
equal the numbers, but it didn't work. I don't know if I'm doing it
correctly.

Gord Dibben

can I auto fill zip code column when city is typed
 
Elsie

You could use a two column lookup table and a VLOOKUP formula to insert the ZIP
CODE for the entered city.

See Debra Dalgleish's site for excellent instructions on VLOOKUP formulas and a
downloadable sample workbook to assist.

http://www.contextures.on.ca/xlFunctions02.html


Gord Dibben MS Excel MVP

On Thu, 28 Sep 2006 12:12:02 -0700, Elsie C. <Elsie
wrote:

I am using excel 2003 and am typing a customer list of 3,000 names. I found
once I type a name, when I begin to type it again, the program AUTO FILLS it
, which is great because it cuts down on my actual typing. Therefore, I want
to know if there is some way to set up my worksheet so once I type the CITY
name in one column the ZIP CODE column will auto fill with the correct
corresponding numbers. I tried defining a city name and making a formula to
equal the numbers, but it didn't work. I don't know if I'm doing it
correctly.


Gord Dibben MS Excel MVP


All times are GMT +1. The time now is 11:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com