I have a multi sheet workbook in Google Sheets. I need to export a compilation of tables from this workbook to CSV. I therefore have added a new sheet where I use IMPORTRANGE
to combine values from different sheets to one table, which I then want to export. The table has five headers:
Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |
---|---|---|---|---|
IMPORTRANGE | IMPORTRANGE |
There are two uses of IMPORTRANGE
The result text file is exactly 11 bytes, and contains one line:
#REF!,#REF!
I guess the reason there are two #REF! (and not 5, one for each column) is because I use IMPORTRANGE twice.
Currently I have to copy-paste the whole table into another, temporary, sheet, as values, export this new sheet to CSV and finally delete the temporary sheet, a PITA.
How can I export a sheet where I use IMPORTRANGE
to CSV in Google Sheet?