Try
h3
Formula:
=IFERROR(INDEX(INDEX($B$3:$E$11,,MATCH(H$2,$B$2:$E$2,0)),SMALL(IF($A$3:$A$11=$G3,IF(INDEX($B$3:$E$11,,MATCH(H$2,$B$2:$E$2,0))<>0,ROW($A$3:$A$11)-ROW($A$2))),1)),"")
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
There is problem in you row no 7 Circular reference. If you would delete the data in row 7 formula would work.
Bookmarks