Solved

Excel compare columns

Posted on 2011-03-24
5
310 Views
Last Modified: 2012-05-11
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,
0
Comment
Question by:bt707
  • 3
5 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 35207145
=if(isna(vlookup(.....)),"Not found","Found")
0
 

Author Closing Comment

by:bt707
ID: 35207151
Thanks for the quick help!!
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35207155
or maybe

=if(isna(vlookup(.....)),"Not found",vlookup(.....))
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35207158
Thanks for the quick grading
0
 
LVL 11

Expert Comment

by:JoeNuvo
ID: 35207187
error?
do you mean #NA ?

if that is a case, uses something like

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question