Question : Vlookup values in a column to the left of the matched cell

Hi,

As usual, sure this is easy!

I want to get a value to the left of the matched cell. If I use a formula such as: =VLOOKUP("Pete",A1:C3,-2,FALSE) I get #N/A. Is it possible to get values from columns to the left of the matched cell in the table array?

Example:  If I lookup Pete, how do I return the number 82136

           A           B         C
1     86347     100     Steve
2     82136     177     Pete
3     94733     129     Mick

Cheers,

LoveToSpod

Answer : Vlookup values in a column to the left of the matched cell

You can't use VLOOKUP - use INDEX/MATCH instead:
=INDEX(A1:A3,MATCH("Pete",C1:C3,0))

Regards,
Rory
Random Solutions  
 
programming4us programming4us