Solved

Compare Columns Excel

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

777 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