This question merges multiple sheets of the same dimension into a single sheet using an embedded array. I need the same solution, but with a dynamic collection of sheets stored in column G
.
I've tried using JOIN
and CONCATENATE
to first create the array as a string and then evaluate it. But there's no equivalent EVAL
function in Google Sheets so I can't process this text as a formula.
=CONCATENATE("={", JOIN(";", ARRAYFORMULA("filter('" & G:G & "'!A2:F, len('" & G:G & "'!A2:A))"), "}")
I've tried using ARRAYFORMULA
and INDIRECT
but INDIRECT
doesn't work across array ranges so this only returns the first sheet in G1:
=ARRAYFORMULA(INDIRECT("'" & G:G & "'!A2:F"))