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D]
[/TR]
</tbody>[/TABLE]
In A2 just enter:
=COUNTIFS(INDEX(Sheet1!$B$2:$G$4,MATCH($A1,Sheet1!$A$2:$A$4,0),0),"?*")
In A4 control+shift+enter, not just enter, and copy down:
=IF(ROWS($A$4:A4)>$A$2,"",INDEX(Sheet1!$B$1:$G$1,SMALL(IF(1-(INDEX(Sheet1!$B$2:$G$4,MATCH($A$1,Sheet1!$A$2:$A$4,0),0)=""),COLUMN(Sheet1!$B$1:$G$1)-COLUMN(Sheet1!$B$1)+1),ROWS($A$4:A4))))
In B4 just enter and copy down:
IF($A4="","",INDEX(Sheet1!$B$2:$G$4,MATCH($A$1,Sheet1!$A$2:$A$4,0),MATCH($A4,Sheet1!$B$1:$G$1,0)))