Solved

Compare Columns Excel

Posted on 2014-11-12
5
81 Views
Last Modified: 2014-11-24
Hello,
      I have 2 columns, (A&B)of data that I would like to compare and find matches. If there are matches I would like the matched cells to populate column C. Is there a simple way to do this? I have attached a file with some of the data as an example.

Thank you
Book1.xlsx
0
Comment
Question by:daskas27
  • 3
5 Comments
 
LVL 1

Expert Comment

by:Hakum
ID: 40437451
Away to do it might be using conditional formatting ->  highlight cell rules -> dulpicates, and then filter the color out.
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 40437459
put this in column C =IFERROR(INDEX(A:A,MATCH(B2,A:A,0)),"No Match")
0
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 40437466
alternatively you can do this also


=IF(ISNA(MATCH(A1,B:B,0)),A1,"No Match")   put in column C  
=IF(ISNA(MATCH(B1,A:A,0)),B1,"No match")    put in column D
0
 

Author Comment

by:daskas27
ID: 40437655
It tells me there is an error
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 40461968
there is no error. please see formula embedded in attached file.
Book1.xlsx
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

746 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

14 Experts available now in Live!

Get 1:1 Help Now