For this I use INDEX / MATCH. Example:
I have a data table and you want to return the value in column C, where the value in column A is "c" and the value in column B is "h".

I would use the following array formula:
=INDEX($C$1:$C$5,MATCH(1,(($A$1:$A$5="c")*($B$1:$B$5="h")),0))
, Ctrl + Shift + Enter
Excel, , , .