Solved

Excel compare columns

Posted on 2011-03-24
5
309 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ifna and iferror 1 32
copy the content of word to outlook 3 48
Excel Automation VBA 19 30
Applying Background Image to All Sheets in Excel 1 14
Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now