1

I want to check create a list in C of all the unique values in A that don't exist in B.

I'm using unique to get the unique values in A, but can't work out how to remove the values that exist in B. I'm sure this is easy but just don't know the right terminology to search for.

Does anyone know the answer?

https://i.stack.imgur.com/bDWko.jpg

0

you can try this:

=UNIQUE(FILTER(A2:A;ISNA(MATCH(A2:A;B2:B2;0))))

enter image description here

0

You can try something like this too:

=UNIQUE(QUERY(A2:B;"select A where not A matches '"&TEXTJOIN("|";1;B2:B)&"'";0))

or US notation:

=UNIQUE(QUERY(A2:B,"select A where not A matches '"&TEXTJOIN("|",1,B2:B)&"'",0))

enter image description here

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.