I am using the solution presented in this post:
But now I need to query data from a different spreadsheet. I know the importrange
requires the use of 'Col' to specify the column. However, I don't know how to change this string:
=arrayformula(join(",", substitute(address(1, column(C:F), 4), "1", "")))