Try this...

Entered in AP6 and copied down as needed:

=MAX(INDEX(E:AB,0,ROWS(AP$6:AP6)))