Compare Columns & Highlight Duplicates or Unique Values
Here is how you can compare multiple columns in Excel & change the background color for duplicate values.Assume you have a list of values in columns A & B.
You want to compare these two column values & highlight the duplicates.
- Select values in Column A & B that you want to compare.
- Click Conditional Formatting -> New Rule
- Choose 'Format only unique or duplicate values'
- Select 'Duplicate' or 'Unique' in 'Edit rule Description'
- Choose a color to highlight the duplicate values.
- Click Ok.
The above example shows how to compare two columns. But, you can choose any number of columns/rows or range of values in a Excel Worksheet & then perform the same sequence of steps to find the duplicate values.