Ok I think this was there was a typo. This works:

=INDEX($A$3:$G$913,(ROW()-3)/10+1,MATCH(A$2,$A$2:$G$2,0)

Thanks!