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

Perfect! Thanks very much, you just saved me a great deal of work!!

"Domenic" wrote:

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.