Solved

Compare Columns Excel

Posted on 2014-11-12
5
83 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

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
Windows 7 Share with concurrent edits(Excel) 3 31
ms office troubleshooting for users 8 33
Export Query data to excel file 14 26
Filling Blank Cells 14 10
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

932 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