I need to count how many "Yes" or "N/A" values there are in a particular column on a sheet, so I have a formula like this:
=Rows(Query(INDIRECT('SheetName'!A:H"), "SELECT * WHERE (Col3=""Yes"" OR Col3 = ""N/A"")",""))
But when the WHERE clause filters out every row I get an error "error: Query completed with an empty output."
When the query's output is empty I'd hope to get a 0 for the "row count". Is there an easy way to do this?