Welcome to the forum.
I use a helper column with this formula in cell AP3 of Main Database tab and copy down:
Formula:
=IF(COUNTIF(M3:AM3,"<="&TODAY()+60),COUNT(AP$2:AP2)+1,"")
Then I use those values as row numbers in this other formula to list names in the 8 weeks tab, cell A3 copied to B3 and down:
Formula:
=IFERROR(INDEX('Main Database'!A$3:A$185,MATCH(ROWS($Z$1:$Z1),'Main Database'!$AP$3:$AP$185,0)),"")
Then this array formula (Ctrl+Shift+Enter) in cell P3 copied across and down:
Formula:
=IFERROR(INDEX('Main Database'!$M$3:$M$185,MATCH($B3,IF(ISNUMBER('Main Database'!M$3:M$185),IF('Main Database'!M$3:M$185<=TODAY()+60,'Main Database'!$B$3:$B$185)),0)),"")
Please check file attached.
Good luck!
Bookmarks