A simple query
=QUERY(data, query, [headers])
I would like to externalize a QUERY, to make it global.
The QUERY is used as data within other subsequent queries
Such as
=QUERY2(QUERY1(data, query, [headers]), query, [headers])
Becomes
=QUERY2(A1, query, [headers])
Where, as a string
A1 = "QUERY1(data, query, [headers])"
I've tried
=QUERY2("'&A1&'", query, [headers])
But it doesn't work.