Find Duplicate Values

An Excel sheet is a great way of packing lots of data into a dense area. But, these documents will become unmanageable and unwieldy when they’re in use for a long period of time. This example teaches you how to find duplicates in Excel. Go here to remove duplicates.

In this tutorial, we will figure out How to Find Duplicate values in an Excel sheet using two ways. To begin with, we will figure out how to use Conditional Formatting to highlight the copy cells. Then, we will show how to use the Excel Countif Function to find the duplicates. Now, we are not using a formula to find duplicates in excel. But how conditional formatting and countif function helps.

So, Let’s Go through the following steps to learn the way!

Find Duplicate value in Excel using Conditional Formatting!

  1. Select the range of cells you wish to test
    find duplicates in excel

    click on Conditional Formatting from Styles group

  2. Click on Home Tab
  3. Click on Conditional Formatting
    select the Duplicate Values... Option
  4. Select the Highlight Cells Rules option
  5. Then select the Duplicate Values
    Duplicate Values dialog box will pop up
  6. Selected Column will Highlight Duplicate Values.
    select Duplicate from the drop-down list
  7. Duplicate Column list will now get identified

Note: If we select Unique from the list. So, the previous selection is reversed. We are finding Duplicate values and not Unique values. So, select Duplicate from the drop-down list. Then Click OK.

how to find duplicate values using Conditional Formatting

So, we have learned how to find duplicate values using Conditional Formatting.

Note: This method will only work if cells contents are less than 256 characters in length. This is because Excel functions cannot handle text strings that are longer than this

Find duplicate using COUNTIF Function

Using COUNTIF function helps us:

  1. Find only the duplicate values, and
  2. Count how many times the value is repeated in the list.

So let’s find out a duplicate with Countif Function in Excel

Now let see how CountIF calculates the number of repetition.

formula is telling to count the repeated number of the value

1: Now in Column B we will count each name repetition. In cell B1 type the name of Column Count as like above picture. Now use below formula in cell B2 for count the number of repetition of the name John in cell A2:


2: This formula is telling to count the repeated number of the value of cell A2 in the range of A:A (means the whole column of A).

now let input the same formula into other cells

Now we can see in cell B2, it counts that name John is entered only 1 time. So now let input the same formula into other cells of column B.

Using Fill handle of the selected cell

3: Using Fill handle of the selected cell. Click, hold and drag it below another cell of column B as like above picture. The formula will be copied automatically for other cells of column B.

So now we have successfully learned those two ways to find duplicate values in excel sheet.

4: Now column B is showing the number of entry of each name. We typed Vijay 3 times and it is also calculated by our COUNTIF function.

So now we have successfully learned those two ways to find duplicate values in excel sheet.

Enjoy Excel tricks..!!

1 Response

Related Tutorials

Delete Duplicate in Excel or Remove Duplicate in Excel
November 9, 2018
Excel Formulas PDF
September 6, 2018
How To Lock Cells in Excel | Unprotect Excel
August 13, 2018
4x Faster at Excel
August 6, 2018
Separate Content of One Excel Cells into Separate Columns
August 3, 2018
How to Transpose Excel Columns to Rows | Paste Special Method
July 26, 2018
How to create sparklines in Excel
July 19, 2018
AutoSum in Excel with Shortcut
July 17, 2018
OFFSET Function in Excel
July 6, 2018
Strikethrough Shortcut in Excel & Word
July 4, 2018
INDIRECT Function with SUM, MAX, MIN & Independent Cell Value
June 29, 2018
Pivot Table Slicers In Excel
June 12, 2018
How to Split Cells in Excel using Text to Column
June 7, 2018
How to Wrap Text in Excel Automatically and Manually
June 6, 2018
How to Hide/Unhide Column in Excel
June 5, 2018
Highlight row based on cell value
June 4, 2018
Learn how to remove blank cells in Excel
June 3, 2018
How to Group Numbers, Dates & Text in Pivot table in Excel
June 1, 2018
5 Powerful Tricks to Format cells in Excel
May 31, 2018
Insert a Picture into a Cell in Excel
May 25, 2018
What is ISFORMULA Function and FORMULATEXT Function
May 21, 2018
How to Use SUBSTITUTE Function
May 21, 2018
Excel Quartile Function in Excel
May 8, 2018
How to use the Excel PERCENTILE function
May 7, 2018
Insert or Type degree symbol in Excel with Autocorrect Feature
May 7, 2018