I have a query where the output involves summing two columns. If either of the columns never has a value (given a set of filter criteria in the where
clause), there is no result. Why?
Here is an example sheet.
=QUERY(A2:C,"select sum(B) where A = 'ard'",0)
-> result exists
=QUERY(A2:C,"select sum(C) where A = 'ard'",0)
-> no result
=QUERY(A2:C,"select sum(B) - sum(C) where A = 'ard'",0)
-> no result