If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Incorporate adjacent cells after performing a VLOOKUP
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,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 |
#2
|
|||
|
|||
Incorporate adjacent cells after performing a VLOOKUP
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,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 |
#3
|
|||
|
|||
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,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 |
Thread Tools | |
Display Modes | |
|
|