My answer to Is there a script to bypass 50000 characters for in-cell formula? was deleted by a ♦ moderator without any explanation of the reason. My answer has +2 / -1.
- Why it was deleted?
- Why there isn't a comment describing the problem pointing what was wrong?
Here is the content of my answer at the time that it was deleted (rev 1):
Is there a script to bypass 50000 characters for in-cell formula?
If the length of {B!A1:A100; ........ ; CA!DZ1:DZ100}
is greater than 50 thousands characters consider to build a custom function that build the array for you. You could "hard-code" the references or list them as text on a range to be read by your script.
Then, the resulting formula could look like this =ARRAYFORMULA(SPLIT(QUERY(MYCUSTOMFUNCTION(),
"select * where Col1 is not null order by Col1 asc", 0), " "))
or like this =ARRAYFORMULA(SPLIT(QUERY(MYCUSTOMFUNCTION(A1:A1000),
"select * where Col1 is not null order by Col1 asc", 0), " "))
(assuming that you have 1000 references.