Link to home
Start Free TrialLog in
Avatar of bt707
bt707Flag for United States of America

asked on

Excel compare columns

I have two columns with a list of email addresses, A and B

How can I do a compare to see if each address in column A is in column B, so print out in column C something like "Found" or Not Found", I'm guessing I can use vlookup but get errors on the ones that are not found, so need a IF or something.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bt707

ASKER

Thanks for the quick help!!
or maybe

=if(isna(vlookup(.....)),"Not found",vlookup(.....))
Thanks for the quick grading
error?
do you mean #NA ?

if that is a case, uses something like

=IF(ISNA(VLookup(.....)) , VLookup(.....), "not found")