Reputation: 103
I have this two columns of names:
Column 1 Column 2
A B
B D
C E
D
E
I need to compare the two columns and have in output the values that are in Column 1 but not in Column 2, so the output must be:
Column 3
A
C
How can I achieve that?
Thanks
Upvotes: 0
Views: 5610
Reputation: 96791
In C1 enter:
=IF(COUNTIF(B:B,A1)=0,A1,"")
and copy down.
The blanks can also be removed, if necessary.
Upvotes: 2