#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Troubles

I have a problem i hope for your help to solve.

I have a list of all the zip-codes in one column (A2:A1430) and the
city-names in the column to the right (B2:B1430).

Now, i want Excell to show the cityname in a cell when i enter the zip-
code in an other cell.

Can anybody help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Troubles

Hi Jonas

Assuming your lists are on sheet1 and you are entering the Zip code in A1 of
Sheet2 and want the city to appear in B1

=IF(A1="","",VLOOKUP(A1,Sheet1!A:B,2,0))
Copy down as required

--
Regards
Roger Govier

"Jonas Krogh" wrote in message
...
I have a problem i hope for your help to solve.

I have a list of all the zip-codes in one column (A2:A1430) and the
city-names in the column to the right (B2:B1430).

Now, i want Excell to show the cityname in a cell when i enter the zip-
code in an other cell.

Can anybody help?

__________ Information from ESET Smart Security, version of virus
signature database 4531 (20091022) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4531 (20091022) __________

The message was checked by ESET Smart Security.

http://www.eset.com



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
SUMPRODUCT troubles David Excel Worksheet Functions 2 July 9th 07 09:04 PM
Printing Troubles beginner here Excel Worksheet Functions 0 July 6th 07 12:56 AM
COM Add-in Troubles Howard Excel Discussion (Misc queries) 0 May 22nd 07 01:59 PM
IF troubles JG Excel Worksheet Functions 6 December 24th 06 04:58 AM
Formula Troubles........ Tracy B Excel Worksheet Functions 0 April 8th 05 03:35 PM


All times are GMT +1. The time now is 04:28 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"