Hi. You'll need an array formula to do that:
Formula:
=IFERROR(INDEX('Raw Data.xlsx'!$H$2:$H$6,MATCH(1,('Raw Data.xlsx'!$A$2:$A$6=$A3)*('Raw Data.xlsx'!$E$2:$E$6=B$2)*('Raw Data.xlsx'!$D$2:$D$6=OFFSET($B$1,,2*INT((COLUMNS($B:B)-1)/2),,)),0)),"")
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
If you open both files in the same location, it should then work perfectly. Should you NOT open the data source, you will then need to modify the formula to include the full path:
Formula:
=IFERROR(INDEX('C:\Users\Windows 8\Desktop\[Raw Data.xlsx]Raw Data'!$H$2:$H$6,MATCH(1,('C:\Users\Windows 8\Desktop\[Raw Data.xlsx]Raw Data'!$A$2:$A$6=$A3)*('C:\Users\Windows 8\Desktop\[Raw Data.xlsx]Raw Data'!$E$2:$E$6=B$2)*('C:\Users\Windows 8\Desktop\[Raw Data.xlsx]Raw Data'!$D$2:$D$6=OFFSET($B$1,,2*INT((COLUMNS($B:B)-1)/2),,)),0)),"")
which, in my case, is: C:\Users\Windows 8\Desktop\
Bookmarks