Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Compare Columns Excel

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

Expert Comment

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

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 26

Expert Comment

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vba for Saving access tables to excel with password 4 25
Excel if formula 2 19
Excel Calculation 4 48
Text box keydown event does not work 38 40
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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