How to highlight duplicates in Excel

Highlighting duplicates in Excel is a common task, allowing you to quickly identify and handle repeated values in your data. Excel provides a straightforward way to do this using Conditional Formatting. Here’s how you can highlight duplicates in Excel:

Steps to Highlight Duplicates in Excel

  1. Select Your Data: Click and drag to select the cells you want to check for duplicates. This can be a single column, multiple columns, or a specific data range.
  2. Go to Conditional Formatting:
    • Click on the Home tab.
    • Look for the Styles group.
    • Click on Conditional Formatting.
  3. Highlight Cell Rules:
    • In the dropdown menu of Conditional Formatting, hover over Highlight Cells Rules.
    • From the side menu, select Duplicate Values.
  4. Choose Formatting:
    • A dialog box will appear with options for formatting.
    • Excel usually defaults to highlighting duplicate values in red text, but you can change the highlight color or text color by clicking on the drop-down next to the preview box.
    • After selecting how you want the duplicates to be formatted.
  5. Excel will automatically highlight all duplicate values in the range you selected based on the formatting style you chose.

Additional Tips:

  • You can highlight duplicates within a single column or across multiple columns. Just ensure that when you’re selecting multiple columns, they are adjacent to each other.
  • If your goal is to remove duplicates rather than just highlight them, Excel has a Remove Duplicates feature under the Data tab.
  • Excel considers cells with exactly the same content as duplicates. This includes any leading/trailing spaces, capitalization differences, etc.
  • If you want to highlight unique values instead, you can use a similar process but choose Unique instead of Duplicate in the Duplicate Values dialog box.
  • For more complex criteria or non-adjacent cells, you might need to use formulas with conditional formatting to identify duplicates or unique values.
See also  How to Randomize a List in Excel

By following these steps, you can easily highlight duplicates in your Excel data, allowing for better data cleaning, error spotting, or simply understanding your data’s distribution and repetition. This feature is especially useful in large datasets where manually spotting duplicates would be inefficient.