In J2 enter
Formula: copy to clipboard
=INDEX($E$2:$E$13,MATCH(1,($B$2:$B$13=$H2)*($D$2:$D$13=J$1),0))
committed as an array formula ( With Ctrl+Shift+Enter)
Drag down and right