Searching for the existence of similar values between the excel worksheet columns manually is fine when we have few values in a column, but if you have thousands of values in a column which has to be compared with another column for identical values, it may take a decade to do so.
Microsoft Excel is a powerful tool that can be used efficiently to do such a complex task in no time.
Read Also: How to protect Microsoft Excel documents with password
How to Find Duplicate Values In Excel by Comparing Columns:-
For example, in the below image representation, In an Excel worksheet, we have values in two columns A and column C.
In order to identify and highlight the values of column A which are also available in column C, Microsoft's Excel tool has several built-in functions and techniques to do so, whereas not every option is simple and efficient, so here we share one of the easiest ways among them.
Read Also: How to protect Microsoft Excel documents with password
How to Find Duplicate Values In Excel by Comparing Columns:-
For example, in the below image representation, In an Excel worksheet, we have values in two columns A and column C.
![]() |
Sample Data With Employee ID's in Column A and Column C |
- Step: Click on the column header to select entire column values and Tap on "conditional formatting" on the menu bar and click on New rule option.
Select Column to be highlighted and tap on conditional formatting - Now select rule type as "use a formula to determine which cells to format".
- And in "format values where this format is true field' enter the formula as =countif($C:$C, $A1).
New formatting rule window - $C:$C = denotes the column to be compared.
- $A1 = selected column (column values to be highlighted for same entries in the column C.)
- Then click on the format on the same(New Formatting rule) window to open "format cells" window, here select any color of your choice to be highlighted when matching values found in the compared column.
Format Cells - Fill Tab - Now click on OK to confirm the chosen color.
- And the final result will look something like the below image representation.
The result - highlighted matching values
Also Read: How to customize Windows Sticky Notes fonts, color, text, etc.
Additional Note: With the above steps we found the matching values by comparing a column with the other column and to segregate the highlighted and non-highlighted values, use filter options in Excel itself to do so, follow the below steps.
Additional Note: With the above steps we found the matching values by comparing a column with the other column and to segregate the highlighted and non-highlighted values, use filter options in Excel itself to do so, follow the below steps.
Comments
Post a Comment