Merged cells are an abomination & can cause all sorts of problems.
Also a formula cannot merge cells & spill formulae will not work in them.
However if you create a named range called SheetList with this formula
Formula:
=TOCOL(TEXTAFTER(GET.WORKBOOK(1)&T(NOW()),"]",-1))
you can then use this formula
Formula:
=LET(s,DROP(SheetList,1),v,VSTACK(Group1:Group4!A3:J100),sht,TOCOL(IF(SEQUENCE(,ROWS(v)/ROWS(s)),s)),f,FILTER(HSTACK(sht,v),INDEX(v,,7)<>0),IF(f="","",f))
Although the workbook needs to be saved as an xlsm.
Bookmarks