I have to export some data from a Sheet with 30 tabs(a tab for each day of the months) and I have to extract data under specific criteria from all the sheets which have to be done every month on a new sheet.
Is there a way I can make the formula automatically search through all the tabs rather than manually write 30x IMPORTRANGE
in a QUERY
function?
Example for the formula I have created for one day of the month:
=QUERY({IMPORTRANGE("1ZMBUM_u8j74GZ1KFv0OqROcUfY6Wocr3IlgMGBn8q","01.05.2019!A1:M200")},"SELECT Col2 WHERE Col7 contains 'Emil' and Col11 <>10")
Your help will be highly appreciated.
Best Answer
Unfortunately no, you will need to do it this way:
(and if you select 2 columns in a query you will need to add two fake columns eg. replace
""
with{"",""}
)