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

G Sheets - Can't seem to make not contains and is not null work together

$
0
0

I want to return results for col A & B where B is not blank and where F doesn't containany city in California so, ', CA'. I can get each operator to work separately,

=QUERY('805'!A1:F1105, "select A, B where not F contains', CA'",1) - Works

=QUERY('805'!A1:F1105, "select A, B where B is not null",1) - Also works

but when put together, it does not work. I'm thinking maybe a syntax error?

=QUERY('805'!A1:F1105, "select A, B where not F contains', CA' or where B is not null",1) -Does not work

My spreadsheet - the formula is in cell B10 of Reconciliation tab


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles



Latest Images

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