Compare Two Lists in Excel

Posted on 2014-12-15
Last Modified: 2014-12-15

i have seen many cell by cell comparisons in excel, also column by column comparison.

however i want is comparison of by entire row values.

for example, see attached file.  i have two sheets "List 1" and "List 2"  in sheet List 1 i want to put a text in column N for those rows that thier match found in List 2 and similalrly, i want to put text in Column N of List2 for those rows that thier match found in List1.

Question by:Flora
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
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40500062
Please find attached.

I've also added some conditional formatting to reflect the colors you used.
LVL 50

Accepted Solution

Rgonzo1971 earned 250 total points
ID: 40500065

you could these 2 formulas as Array formula Ctrl-Shift Enter

=IF(IFERROR(MATCH(A2&B2&C2&D2&E2&F2&G2&H2&I2&J2&K2&L2&M2,List2!$A$2:$A$25&List2!$B$2:$B$25&List2!$C$2:$C$25&List2!$D$2:$D$25&List2!$E$2:$E$25&List2!$F$2:$F$25&List2!$G$2:$G$25&List2!$H$2:$H$25&List2!$I$2:$I$25&List2!$J$2:$J$25&List2!$K$2:$K$25&List2!$L$2:$L$25&List2!$M$2:$M$25,0),0),"Found in List 2","")

=IF(IFERROR(MATCH(A2&B2&C2&D2&E2&F2&G2&H2&I2&J2&K2&L2&M2,List1!$A$2:$A$25&List1!$B$2:$B$25&List1!$C$2:$C$25&List1!$D$2:$D$25&List1!$E$2:$E$25&List1!$F$2:$F$25&List1!$G$2:$G$25&List1!$H$2:$H$25&List1!$I$2:$I$25&List1!$J$2:$J$25&List1!$K$2:$K$25&List1!$L$2:$L$25&List1!$M$2:$M$25,0),0),"Found in List 1","")

See example


Author Closing Comment

ID: 40500075
Thank you very much guys.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
Need VBA code to create all combinations of a routing. 30 71
Vlookup - 2 criteria 6 43
Converting time 4 38
Color a cell based on a date in Excel 8 22
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
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…

756 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