View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Anthony Anthony is offline
external usenet poster
 
Posts: 275
Default Incorporate adjacent cells after performing a VLOOKUP

Sean, Thank you very much! That worked perfectly!
Anthony

"Sean Timmons" wrote:

sounds like you want B1 to be =VLOOKUP(A1,D:F,2,0) and C1 to be
=VLOOKUP(A1,D:F,3,0)... then paste down the rows...

"Anthony" wrote:

I'm trying to do a VLOOKUP of a location and get the Latitude and Longitude
of the corresponding location number.
A B C D E F
20896 (E4) (F4) 129 -112.18494 33.48041
37389 130 -111.93492 33.41625
9080937 131 -111.84007 33.4151
9080937 20896 -112.1257 33.50237

So what I've got so far is =VLOOKUP($A1,A:D,2,FALSE). This finds the 20896
value in column B, but what I want to do next is put the values of E4 in B4
and F4 in C4. I can do this individually or with a LOOKUP function, but with
over 56,000 values I don't really have that kind of time. Thank you.

Anthony