1. Conditional Formatting: Highlight & Find Duplicates in Excel

Find duplicate values in Excel files by using “Conditional Formatting” as explained below.

Excel 2007 and above has this option enabled already.

Open the worksheet with duplicate values in a list & follow these steps:

  1. Select the Range.
  2. Go to “Conditional Formatting” in “Home” Menu
  3. Select “Highlight Cell Rules”
  4. Click “Duplicate Values”.
  5. Choose color to highlight.
  6. Click OK.

All the cells with duplicates entries will be highlighted with the color format that you have chosen above. With this method you can only review the values.

You will not be able to filter them based on the color, if your Microsoft office is not of latest version.

Also Read: Sort rows based on color in Excel

2. Using Formula to Find Duplicates in Excel?

To find duplicate entries in a range, you can use the excel formula “Countif” as explained below.

Find Duplicates in Excel
Find Duplicates in Excel

Countif formula counts the number of occurrences of a value in a range. This way, we get whether a value is unique or duplicate.

Formula to Find Duplicates in Excel

  1. Open Excel workbook.
  2. Enter duplicates values in some cells. (Ex: Range A2:A11)
  3. Insert formula “=COUNTIF(A:A,A2)” in cell B2
  4. Copy paste this formula to remaining rows in Column B.
  5. Col B will have count of values in Col A.
  6. Unique values will have count 1.
  7. Duplicate values will have count greater than 1.

You can filter the values greater than 1 to get duplicate entries. To see an illustration on how it works, watch the video at end of this page.

Most times this is solved through any VBA macro or the above explained method can be used.