Good day, I'm trying to add an empty line between 2 queries, to make it easier to look at and format.
Here is the main formula:
={query(filter((importrange("link";"sales!A2:F"));
(importrange("link";"sales!A2:A"))>=(EOMONTH("01.09.18";-1)+1);
(importrange("link";"sales!A2:A"))<=EOMONTH("01.09.18";));
"Select Col1,Col3,Col4,Col5,Col6 where Col2='Manager' label (Col1) 'Date',(Col3) 'Client', (Col4) 'Total', (Col5) 'Date of pay', (Col6) 'Comment' ");
query(filter((importrange("link";"payments!A2:G"));
(importrange("link";"payments!A2:A"))>=(EOMONTH("01.09.18";-1)+1);
(importrange("link";"payments!A2:A"))<=EOMONTH("01.09.18";));
"Select Col1,Col7,Col2,' ',' ' where Col6='Manager' label (Col1) 'Date',(Col7) 'Client', (Col2) 'Total',' ' ' ' ,' ' ' '")}
I've added line breaks to make it a little easier to read.
As a potential solution I have tried to mimic what I did in the second part of the formula with non existent columns
=query(importrange("link";"link!A2:F"); "Select ' ', ' ', ' ', ' ' ,' ' label ' ' ' ', ' ' ' ', ' ' ' ', ' ' ' ', ' ' ' '")
This breaks the code in a way, that only the first query is displayed.
As additional info, these queries return this information:
Date | Client | Sum | Date of payment | Comment
As for the second query
Date | Client | Sum
Any other comments or corrections for the main formula are greatly appreciated, I'm sort of new to this, and might not be using the right tools for the jobs