View Single Post
 
Old 04-19-2017, 10:53 AM
NBVC's Avatar
NBVC NBVC is offline Windows 7 64bit Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Depending on the order of the columns in your table you can use VLOOKUP or INDEX/MATCH.

The Index/Match will work no matter the order, so safer to use that.

e.g.

=INDEX($B$2:$B$100,MATCH(X2,$A$2:$A$100,0))


where A2:A100 contain the Zip codes and column B has the Cities, X1 contains the Zip code to look up.
Reply With Quote