Normally we using vlookup for the value in the right side.. i trying to get the value from the left.. any suggestion?
Normally we using vlookup for the value in the right side.. i trying to get the value from the left.. any suggestion?
Isaac Koh
Hi Isaac,
If you need to look to the left in a table of numbers, you need to use the Index Match construct instead of VLookup. You are correct that VLookup will only look to the right.
http://exceluser.com/formulas/excels...-functions.htm tells more.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
use either index /match or vlookup like this =VLOOKUP(A1,CHOOSE({1,2},C1:C10,B1:B10),2,FALSE) which will look in c and return from b
index match would be
=index(b1:b10,match(a1,c1:c10,0))
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
vlookup and index/match will only return the 1st match they find, and then stop looking
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
A formula will do this for you, upload a sample workbook
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks