View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic Domenic is offline
external usenet poster
 
Posts: 256
Default Vlookup from 2 columns

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!

In article ,
cursednomore wrote:

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.