Compare Two Columns in Excel Using Equals Operator

In this method, we will create one more column in our existing dataset as Result which will be used for storing the matched and unmatched responses.

Step 1: Add an Excel New Column

In this step, we will add a new column as “Result” for adding the response as TRUE or FALSE.

Fig 8 – Add Result Column

Step 2: Adding Comparison Formula

In this step, we will add a formula in our Result column to compare whether the two columns contain equal data or not.

=A2=B2(We are using A2 and B2 cells for comparison, you need to change according to your own cells).

Fig 9 – Adding rules for true or false

After using formula in one row, we need to fill the same formula for all the rows. To use the same formula in all rows, Select the bottom right corner of the cell(Here, C2) and pull it down to the cell. Excel will fill the same formula in all the rows.

Fig 10 – Fill formula in all rows

Step 3: Output

Once we have our comparison formula filled in all the rows, excel will automatically fill TRUE for matched and FALSE for unmatched entities.

Fig 11 – Output

How to Compare Two Columns in Excel : Easy and Quick Methods

Excel provides various functions and methods by which we can compare two columns and identify matching and mismatching data. Working with a very large Excel dataset, comparing two different columns, and recording the result as Matched or Not Matched can be very time-consuming. It is simple to compare columns in small tables but it becomes complicated when you need to compare two columns in a large spreadsheet. Comparing the columns manually is a time-consuming approach that can be avoided with the application of some fundamental knowledge of Excel.

Similar Reads

Why Compare Two Columns in Excel

Excel is a versatile tool that stores data and manipulates data for better decision-making. We are required to compare Excel columns data for the following reasons:...

How to Compare Two Columns in Excel

There are many different ways to compare your data when it is present in two different columns, tables, or spreadsheets to make sure that there shouldn’t be any missing or duplicate data present in the columns....

Compare Two Columns in Excel using Conditional Formatting

In this method, we will the Conditional Formatting rules provided by Excel to compare the two columns and highlight the DUPLICATE DATA between the two columns....

Highlight Unique Data

In this method, we will use the Conditional Formatting rules provided by Excel to compare the two columns and highlight the UNIQUE DATA between the two columns....

Compare Two Columns in Excel Using Equals Operator

In this method, we will create one more column in our existing dataset as Result which will be used for storing the matched and unmatched responses....

Compare Two Columns in Excel Using the IF Condition

You can also use the IF condition to compare two columns in Excel. The Formula that can be used is =IF(A2=B2,”MATCH”,” “). It will return the result as MATCH against the rows that contain, matching values, and the remaining rows will show Not Match....

Using the Lookup Function to Compare Two Columns

The LOOKUP function is used to search for a particular value in a particular row or column and return the result from another row or column. Excel has various lookups such as VLOOKUP (V stands for vertical), HLOOKUP (H stands for horizontal), and XLOOKUP (combination of both VLOOKUP and HLOOKUP)....

FAQs on Comparing Two Columns in Excel

How to compare two Columns in Excel easily? Follow the below steps to compare two columns: Step 1: Select both columns of data. Step 2: Go to Home. Step 3: Then click on Find & Select. Step 4: Now Go To Special > Select row Differences. Step 5: Click OK....

Contact Us