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!
- Select the range of cells you wish to test
- Click on Home Tab
- Click on Conditional Formatting
- Select the Highlight Cells Rules option
- Then select the Duplicate Values
- Selected Column will Highlight Duplicate Values.
- 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.
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
Interesting Blog you should read:
- Flash Fill
- Create Histogram
- Create Sparkline
- Wrap Text in Excel
- Remove Duplicate
- Conditional Formatting
- Strikethrough in Excel
- Excel Function & Formulas
Find duplicate using COUNTIF Function
Using COUNTIF function helps us:
- Find only the duplicate values, and
- 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.
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:
=COUNTIF( A:A, 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 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.
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.
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..!!