Excel

R

Ring Guy

I have a list of city/zip codes. They are coded a-z & 1-9 for each different
city ony my list. Can I type the "Code Letter" and have the city and zip be
displayed in a cell?
 
J

JE McGimpsey

If you mean you have something like:

A B C
1 Code City Zip
2 a Anytown 12345
3 b MyTown 23456
....
27 z YourTown 98765

If your "Code letter" is in D1, then one way is to use

City: =VLOOKUP(D1,A:B,2,FALSE)
Zip: =VLOOKUP(D1,A:C,3,FALSE)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top