#1   Report Post  
gb_S49
 
Posts: n/a
Default Vlookup query

when using vlook, it always goes from the Left column to Right column. Is it
possible to use vlook to the left.
did that make sense?
  #2   Report Post  
Domenic
 
Posts: n/a
Default

You can use a combination of INDEX and MATCH functions. For example...

=INDEX(Array,MATCH(LookupValue,LookupArray,MatchTy pe))

Hope this helps!

In article ,
gb_S49 wrote:

when using vlook, it always goes from the Left column to Right column. Is it
possible to use vlook to the left.
did that make sense?

  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

gb_S49 wrote:
when using vlook, it always goes from the Left column to Right column. Is it
possible to use vlook to the left.


No.

did that make sense?


Yes. You need to switch to an INDEX/MATCH or LOOKUP formula...

If you can set the match-type (range_lookup in MS parlance) to 1 (or
TRUE)...

1]

=LOOKUP(X2,$B$2:$B$10,$A$2:$A$10)

2]

=INDEX($A$2:$A$10,MATCH(X2,$B$2:$B$10,1))

If you have to set the match-type to 0 (or FALSE)...

=INDEX($A$2:$A$10,MATCH(X2,$B$2:$B$10,0))
  #4   Report Post  
gb_S49
 
Posts: n/a
Default

Thank YOu.
Have a nice weekend

"Aladin Akyurek" wrote:

gb_S49 wrote:
when using vlook, it always goes from the Left column to Right column. Is it
possible to use vlook to the left.


No.

did that make sense?


Yes. You need to switch to an INDEX/MATCH or LOOKUP formula...

If you can set the match-type (range_lookup in MS parlance) to 1 (or
TRUE)...

1]

=LOOKUP(X2,$B$2:$B$10,$A$2:$A$10)

2]

=INDEX($A$2:$A$10,MATCH(X2,$B$2:$B$10,1))

If you have to set the match-type to 0 (or FALSE)...

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query of External Data Excel GuRu Excel Discussion (Misc queries) 2 January 3rd 05 07:43 PM
Microsoft Query Help Patti Excel Worksheet Functions 4 December 25th 04 09:54 AM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM
Editing MS Query Patti Excel Worksheet Functions 2 December 2nd 04 01:31 PM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 10:01 PM.

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

About Us

"It's about Microsoft Excel"