=query(A1:S10,"select C,D,E,F,H,K,P,R,S WHERE Q='USA' AND R matches 'Florida|NY|'''
I would like to add (or empty cell) to the 'Florida|NY'
That is to say I would like to select rows with the Q= 'USA' and R matches either 'Florida','NY' or empty
google sheetsgoogle-sheets-query
=query(A1:S10,"select C,D,E,F,H,K,P,R,S WHERE Q='USA' AND R matches 'Florida|NY|'''
I would like to add (or empty cell) to the 'Florida|NY'
That is to say I would like to select rows with the Q= 'USA' and R matches either 'Florida','NY' or empty
Best Answer
Add
OR R is null
to yourSELECT
statement.Related