COMPARING LISTS

  • Thread starter Thread starter jay dean
  • Start date Start date
J

jay dean

Column B contains a list of names and so does column D.
I need a code that will compare the two list in this way:
Any name in column B that is not in column D should be listed in
column C.

Thanks in advance for your help.

Jay dean


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Jay

One way:

=IF(ISNA(VLOOKUP(B2,D:D,1,FALSE)),B2,"")

Regards

Trevor
 
Hi
in C1 enter the formula
=IF(COUNTIF($D$1:$D$1000,B1),"",B1)
and copy down
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top