Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How do I exclude a text value from a count in a Google Sheets query statement?

$
0
0

I have gotten an output that works for my sum, but I need to exclude one value in count(D). I want to exclude from the count in column D all cells containing the text ZERO. I've been researching and cannot seem to find the solution. (ZERO is 0.00 in column C.)

=QUERY(A4:J,"Select H, sum(C), count(D) Where H is not null group by H")

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>