Essentially, I have a Column A with a bunch of websites, and Column B with a bunch of acceptable websites. I'd like column C to display the websites from Column A, except those that contain url's from column B.

enter image description here


You can use regexmatch() as long as the text strings in column B do not contain regex special characters, like this:

=filter( A2:A, not( regexmatch( A2:A, textjoin("|", true, B2:B) ) ) )

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.