Collock, an effective way of doing this is to use offset and match
=INDEX(A:Z,MATCH(A5,6:6,0),MATCH(A6,B:B,0))
I'm using made up ranges but the gist is replace A:Z with the range of your table, I like to use entire columns, makes it easier to read.
The first match finds the row from your...