![]() |
Are you struggling to find differences or similarities between two lists or datasets in Excel? Whether you’re managing large data sets for business analysis, academic research, or personal projects, efficiently comparing data is crucial. This article will help you learn the most effective methods to compare two lists or datasets in Excel. From using simple formulas like VLOOKUP and MATCH to advanced techniques with conditional formatting and Power Query, we cover everything you need to streamline your data comparison tasks. Discover how Excel can help you identify discrepancies, track changes, and ensure data integrity with ease. ![]() How to Compare Two Lists or Datasets in Excel Table of Content
How to Compare Two Lists or Datasets in ExcelThere are a few methods to compare datasets and two lists in MS Excel are given below for your reference. Read the full article to know more about the same,
How to Compare Two Lists Using Equal Sign OperatorWe should follow the below moves toward looking at the two records. read below to know about the Comparing two lists using equal sign operator, Step 1: Insert a new ColumnImmediately after the two columns, we must insert a new column in the next column. ![]() Insert a new Column Step 2: Put the formula in Cell C2We need place the equation in cell C2 as =A2=B2. ![]() Put the formula in Cell C2 Step 3: Check the outcome as “TRUE” or “FALSE”This equation tests whether cell A2 esteem is equivalent to cell B2. On the off chance that both the cell values are coordinated, we will come by the outcome as “TRUE” or “FALSE.” ![]() Check the outcome as “TRUE” or “FALSE” Step 4: Drag the formula to cell C9We will drag the recipe to cell C9 to decide on different qualities and outcomes. ![]() Drag the formula to cell C9 How to Match Data by Using Row Difference TechniqueYou probably won’t have utilized the “Column Difference” strategy in your working environment. Be that as it may, today, we will tell you the best way to utilize this procedure to match information column by line. Step 1: Choose the whole data and select itTo feature non-matching cells column by line, we should choose the whole information first. ![]() Choose the whole data and select it Step 2: Press the ‘F5’ key to open the ‘Go to special’ box then press the “Special” tabPresently, we should press the successful easy route key “F5” to open the “Go to Special” instrument. Presently in the “Go-To” window, press the “Special” tab. ![]() Press the ‘F5’ key to open the ‘Go to special’ box then press the “Special” tab Step 3: Select ‘Row difference’ and click OKIn the following window, we should go to the “Go To Special” and pick the “Row differences” choice. Then, at that point, click on “OK.” ![]() Select ‘Row difference’ and click OK Step 4: Check the OutcomeWe will obtain the accompanying outcome. ![]() Check the Outcome As we can find in the above window, it has chosen the cells in any place there is a line distinction. Hence, we should fill in a variety to feature the line contrast values. ![]() Contrast Values How to Match Row Difference by Using IF ConditionHow might we leave out the IF condition when we have any desire to match information column by line? In the primary model, we have by the same token “TRUE” or “FALSE.” But consider the possibility that we want an alternate outcome rather than the default consequences of by the same token “TRUE or FALSE.” Assume we want an outcome as “Coordinating” if there is no column distinction and the outcome ought to be “Not Matching” on the off chance that there is a line contrast.
![]() Match Row Difference by Using IF Condition We want to apply the recipe to come by the outcome. We should drag the recipe to cell C9 to decide on different qualities. ![]() Drag the cursor and see the result How to Match Data Even If There is a Row DifferenceThe matching information on the column distinctions system may not work continually; the value may be in various cells too. So we truly need to include different advances in these circumstances. As of now, look at the data below. So let us utilize our capability VLOOKUP(Note: The VLOOKUP succeed capability looks for a specific worth and returns a related match given an exceptional identifier. An exceptional identifier is extraordinarily connected with every one of the records of the information base.) ![]() Match Data Even If There is a Row Difference Along these lines, if the data matches, we get the Name; regardless, we get the bumble regarded as #N/A. Showing mistake values doesn’t look great. So rather than showing the mistake, let us supplant them with “Not Available.” For this, utilization of the IFERROR( Note: The IFERROR capacity in Excel truly investigates a recipe for mix-ups and returns a foreordained worth rather than the goof. This returned worth can be a text, an empty string, a reasonable worth, a number, etc. The bumbles are dealt with by the capacity to consolidate “#N/A,” “#DIV/0!,” “#NAME, and so forth) capabilities in Excel. ![]() IFERROR Function How to Highlight All the Matching Data utilizing Conditional FormattingOn the off chance that you hate Excel recipes, relax. We can in any case match information without the equation. For instance, utilizing straightforward restrictive formatting (Note: Conditional designing in Excel helps design the scope of cells given the satisfaction of at least one circumstance. The design to be applied can either be chosen from the different choices given in Excel or made without any preparation by the client. Contingent designing chips away at the standard “if so, then that ought to be finished.”) In Excel, we can feature every one of the matching information of two records. ![]() ‘Contingent Formatting’ Step 1: Go to the home tab and select ‘Conditional Formatting’ then choose ‘Highlight Cell Rules’> ‘Duplicate values’We ought to first pick the data. Presently, we should go to “Home” and “Conditional Formatting” and pick “Highlight Cell Rules” > “Duplicate Values.” Subsequently, we can see the “Duplicate Cell Values” arranging window. ![]() Conditional Formatting’ then choose ‘Highlight Cell Rules’> ‘Duplicate values’ Step 2: Select the primary arranging tone and click OKWe can pick the different design tones starting from the drop list in Excel. Select the primary arranging tone and press the “OK” button. This will feature every one of the matching information from the two records. ![]() Select the primary arranging tone and click OK Step 3: Choose the ‘Unique’ option from the dropdown in the Duplicate Values tabSimply for the situation, rather than featuring every one of the matching information, to feature not matching information, then, at that point, we can go to the “Duplicate Values” window and pick the choice “Unique.” Subsequently, it will feature every one of the non-matching qualities, as displayed beneath. ![]() Choose the ‘Unique’ option from the dropdown in the Duplicate values tab ConclusionComparing two lists or datasets in Excel is an essential skill for data analysis, ensuring data accuracy, and improving efficiency in your workflow. By learning powerful Excel functions like VLOOKUand P, MATCH, and advanced tools such as Conditional Formatting and Power Query, you can easily identify matches, and discrepancies, and ensure data integrity. Whether you’re handling large Excel databases or comparing data files, these methods provide reliable solutions for your data comparison needs. Enhance your data management capabilities today and streamline your analytical processes with these expert Excel techniques. Explore more about Excel data comparison and stay ahead with our comprehensive guides. Optimize your Excel skills for business intelligence, data validation, and more to boost productivity and achieve precise results. FAQs – How to Compare Two Lists of Data in Excel
|
Reffered: https://www.geeksforgeeks.org
Excel |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |