0

=QUERY(INDIRECT(C13&"!$C$5:F"), "select Sum(F) where D='"&$E$12&"' and C>=date '"&TEXT($G$4,"yyyy-mm-dd")&"' and C<=date '"&TEXT($K$4,"yyyy-mm-dd")&"' ")

How to remove this sum label using that query

0

Add this to the end of the QUERY "Select" clause:

LABEL Sum(F) ''

i.e.,

=QUERY(INDIRECT(C13&"!$C$5:F"), "select Sum(F) where D='"&$E$12&"' and C>=date '"&TEXT($G$4,"yyyy-mm-dd")&"' and C<=date '"&TEXT($K$4,"yyyy-mm-dd")&"' LABEL Sum(F) '' ")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.