...or another option

Formula: copy to clipboard

=IF(OR(COLUMN(A1)>=MATCH(9,$A1:$I1,FALSE),COLUMN(A2)<=MATCH(9,$A$1:$I$1,FALSE)-4),"",25)