Please try this formula. It should go into cell Sheet1!B3 where it must be confirmed with Ctl+Shift+Enter because it's an array formula. (017)
=IFERROR(INDEX(Table,MATCH(1,(INDEX(Table,,3)=$A$1)*(INDEX(Table,,2)=B$2)*(INDEX(Table,,4)=$A3),0),5),"")
In preparation of this formula to work you need to set up a named range by the name of "Table" which comprises of Sheet2!A2:Fxx. Better set this range up dynamically so that it expands as you add more data but you can also declare it as Sheet2!A2:F1000 where 1000 is a number of rows you expect never to need.
This table has 6 columns, A:F which I intentionally made to include column A, which you don't need so that range columns and sheet columns are identical. Table,,3
simply defines the 3rd column. You can replace it with Sheet2!$C$2:$C$1000. If you do, make sure that all your ranges have identical sizes.
The 5 near the end of the formula, at ,0),5),"")
identifies the 5th column of the range Table
from which the result is returned if the 3 criteria match. Change this number to 6 to return the result from column F or to 1 if you ever need the value from column A.
VLookUp
would do the trick – DamianB3
put:=IFERROR(INDEX(Sheet2!$E:$E,MATCH(1,INDEX((Sheet2!$B$1:$B$12=B$2)*(Sheet2!$D$1:$D$12=$A3)*(Sheet2!$C$1:$C$12=$B$1),),0)),"")
and drag right and down...btw: merged cells are a pain in the ***, rather unmerge =) – JvdV