=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.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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