=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
=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
Add OR R is null to your SELECT statement.
Related