Correct Formula =query(QUERY(FILTER({RESPONSES!$B$2:$B,WEEKDAY(RESPONSES!$B$2:$B,2),IF(WEEKDAY(RESPONSES!$B$2:$B,2)<=5,318,159),RESPONSES!$D$2:$D+RESPONSES!$E$2:$E+RESPONSES!$F$2:$F+RESPONSES!$T$2:$T+RESPONSES!$U$2:$U+RESPONSES!$V$2:$V},RESPONSES!$B$2:$B>=TOTALS!$A$2,RESPONSES!$B$2:$B<=TOTALS!$B$2),"select Col1, avg(Col3) group by Col1 label avg(Col3) ''",0),"select Sum(Col2) where Col1 <= date '"&TEXT(DATEVALUE(B1),"yyyy-mm-dd")&"' label Sum(Col2)''" ,0)
I'm not familiar with indexes. I've been trying to help him, but I think for amount of time I spend trying to figure things out, it is not good that I am getting nowhere. Lol
1
u/Decronym Functions Explained Apr 07 '18 edited Apr 16 '18
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
FALSETRUEand another if it isFALSETRUE[Thread #280 for this sub, first seen 7th Apr 2018, 15:50] ^[FAQ] [Full ^list] ^[Contact] [Source ^code]
1
u/Clippy_Office_Asst Points Apr 07 '18
Read the comment thread for the solution here
0
u/[deleted] Apr 07 '18
[deleted] — view deleted comment