Hui, everything in order
After some time I was able to make your formula give the result, check, thanks for the help given
=IF(COUNTIF(OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)),$D$16) < ROWS($D$18:D18), "", INDEX($A$2:$A$14, SMALL( IF(OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)) =$D$16, ROW( OFFSET($A$2:$A$14,,MATCH($D$17,$B$2:$G$2,0)))-1), ROW(A1))))
Decio