Vlookup from 2 columns

G

Guest

What I want to do is use vlookup to match column a on sheet 1 to column a on
sheet 2, then match column b on sheet 1 to column b on sheet 2, and return
the value in column c on sheet 1. Can this be done?

Thanks in advance for any help.
 
D

Domenic

Try something like...

=INDEX(Sheet1!$C$2:$C$100,MATCH(1,IF(Sheet1!$A$2:$A$100=Sheet2!A2,IF(Shee
t1!$B$2:$B$100=Sheet2!B2,1)),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top