=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

1 Answer 1


Add OR R is null to your SELECT statement.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.