A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Incorporate adjacent cells after performing a VLOOKUP



 
 
Thread Tools Display Modes
  #1  
Old September 29th, 2009, 06:03 PM posted to microsoft.public.excel.misc
Anthony
external usenet poster
 
Posts: 356
Default 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  
Old September 29th, 2009, 07:13 PM posted to microsoft.public.excel.misc
Sean Timmons
external usenet poster
 
Posts: 1,722
Default 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  
Old October 9th, 2009, 11:21 PM posted to microsoft.public.excel.misc
Anthony
external usenet poster
 
Posts: 356
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,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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.