Solved

Excel compare columns

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

743 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

12 Experts available now in Live!

Get 1:1 Help Now