Share with your network!

Did you ever come across a situation wherein, you see a lot of copied data or duplicates in excel and you don’t even remember copying it. Well, it happens with all of us at some point in time and finding and removing such copied data in your spreadsheet will take up a lot of time. So instead use the following tricks for finding and removing duplicates.

 

 

How to find duplicates in excel

 

  1. For finding the duplicates we shall be using the conditional formatting function. In our example below, we want to find if any name has been repeated. So first we shall select the Name column (A1:A15).

  2.  

    How to find duplicates in Excel

     
     

  3. Click on the conditional formatting option available at the right hand side of the home tab. Alternatively, you can also use shortcut key: Alt + H + L.

  4.  

    conditional formatting option in excel

     
     

  5. When you click on the dropdown of conditional formatting, you shall receive various options. Select the first option ‘Highlight Cells Rules’ and the sub-option as ‘Duplicate Values.’

  6.  

    finding the duplicate values in excel

     
     

  7. You shall see a duplicate values dialog box, wherein you can select your formatting option. In our case, we select ‘Light Red Fill with Dark Red Text’.

  8.  

    formatting duplicate values in excel

     
     

  9. Click on OK and you shall see that the duplicate names have been highlighted in red color.

  10.  

    duplicate values in excel

     

 
 

How to Remove Duplicates in Excel

 

  1. We shall use the same example as above for learning removal of duplicates. To remove the duplicates, select a random cell and select the option of Remove Duplicates from the data tab in the ribbon. You can also use the shortcut ALT + A + M

  2.  

    Remove duplicate option in Excel

     
     

  3. After clicking on remove duplicates a dialog box shall appear of remove duplicates. It will automatically have your column headers, select the columns of which you want to remove the duplicate values. In our case we shall select all which means if the data in all three columns is duplicated then the rows shall be deleted. ( The blue ones won’t be deleted since the age is different)

  4.  

    remove duplicate dialog box

     
     

  5. After pressing OK, all the duplicate values are removed, a pop up shall appear informing you about the duplicates removed and the unique values that remain. As mentioned above JKL remains since the age mentioned is different

  6.  

    removing the duplicates in excel

     
     

  7. What if you want delete all values which have same name and gender irrespective of their age?? Well simple, in the 2nd step just unmark the age checkbox.

  8.  

    selecting criteria for removing duplicates

     

     

  9. After clicking on OK you will see that even the row with JKL as name has been deleted.

  10.  

    removing duplicates in excel

     

 
 
 

If you have any queries or suggestions then do mention it in the comments box below and we shall get back to you at the earliest.