Here is a non array option.
On the three sheets that are populated based on number of absences populate column A using:
Formula:
=IFERROR(INDEX('Total Form'!A$3:A$162,AGGREGATE(15,6,(ROW(A$3:A$162)-ROW(A$2))/('Total Form'!L$3:L$162<=25)/('Total Form'!B$3:B$162<>0),ROWS(A$1:A1))),"")
Note that on the Total Abs =<50 and Total Abs =<75 sheets the first part of the denominator will need to be modified as in: ('Total Form'!L$3:L$162<=50)
On the Remain Grade 100 Only sheet populate column A using:
Formula:
=IFERROR(INDEX('Total Form'!A$3:A$162,AGGREGATE(15,6,(ROW(A$3:A$162)-ROW(A$2))/('Total Form'!M$3:M$162=100)/('Total Form'!B$3:B$162<>0),ROWS(A$1:A1))),"")
On all sheets the remaining columns may be populated using:
Formula:
=IF(A2="","",INDEX('Total Form'!$B$3:$M$162,MATCH($A2,'Total Form'!$A$3:$A$162,0),MATCH(B$1,'Total Form'!$B$1:$M$1,0)))
Let us know if you have any questions.
Bookmarks