#1   Report Post  
Posted to microsoft.public.excel.misc
runout
 
Posts: n/a
Default formula?

I use ms Excel for my invoices. I service about 10 different zip codes. I
want to be able to enter the zip code in one field and have excell
automatically insert the corasponding city name in the designated field.
What is the formula for that? Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
rsenn
 
Posts: n/a
Default formula?


Use VLOOKUP. Create your list of zip codes and cities on a tab used for
just that list.


--
rsenn
------------------------------------------------------------------------
rsenn's Profile: http://www.excelforum.com/member.php...o&userid=29050
View this thread: http://www.excelforum.com/showthread...hreadid=511390

  #3   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default formula?

Use a sheet for this purpose, rename it to, say, ZIPCITY.
Column A:A contains your zips. Column B:B contains the corresponding
city.

Back in your invoice sheet, assume zip is in D2. Use:

=VLOOKUP(D2, ZIPCITY!A:B, 2, 0)

HTH
Kostis Vezerides

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 11:31 PM.

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

About Us

"It's about Microsoft Excel"