Lesson#161: How to remove duplicates in Excel? | 5 ways to delete duplicates in Excel

Lesson#161: How to remove duplicates in Excel? | 5 ways to delete duplicates in Excel

Maximum Microsoft Excel users frequently ask this question about Excel. One of the most asked questions about Excel is, “How to remove duplicates in Excel?” or “How to delete duplicates in Excel?” or “How do I delete duplicates in Excel but keep one?”. Today I shall answer these questions and I shall show you 5 ways to delete duplicates in Excel in this post.

Method#1: Remove duplicate numeric values with Function MODE and MODE.MULT

What is the Excel MODE function?

The Excel MODE function returns the most frequently occurring value of a number set. It helps you to find a duplicate value in an array.

Syntax of this function is MODE(number1, [number2], …)

where number1 is a number or cell reference that refers to numeric values and

number2  [optional] is A number or cell reference that refers to numeric values.

Example:

=MODE(23,21,21,56,78,99)=21

In this above example MODE returned the most frequently occurring value 45. The limitation is it only returns a single value.

What is the Excel MODE.MULT function?

Excel MODE.MULT function returns the most frequently occurring numbers in a numeric data set with a vertical array.

The syntax of this function is MODE.MULT(number1, [number2], …)

where number1 is a number or cell reference that refers to numeric values and

number2  [optional] is a number or cell reference that refers to numeric values.

Example:

Selected a vertical space in the worksheet then I entered the formula by pressing Ctrl Shift Enter

The limitation of these functions is they return the most occurring values.

What about the duplicate values which occur lesser times?

Method#2: Remove duplicate values in Excel with Conditional Formatting.

Conditional Formatting allows you to find out the duplicate or unique values in a worksheet with a very easy method.

You have to first select the array or the area of the worksheet then go to Conditional Formatting>Highlight cells rules>Duplicate values

See also  Lesson#149: 11 ways to reduce Excel file size. How to reduce excel file size?

There you can select both duplicate and unique values to highlight.

Method#3: Delete duplicate values in Excel with PivotTable.

Here I am showing you an example of how to find duplicates by PivotTable.

Select the data array and insert a PivotTable. Put the value field in Rows and again put the same field in Values and change the field settings to Count. See there is a nice way to find out.

Method#4: Remove duplicate values in Excel with the COUNTIF function.

You can use COUNTIF and put it in a column beside the array to show how many times it occurs in the complete array.

How to remove duplicates in Excel

See the above example I have put the COUNTIF function to count the number of times it occurring in an array.

Method#5: Delete duplicates with ‘Remove Duplicates’

There is another good and easy feature of Excel, Remove Duplicates.

How to remove duplicates in Excel

See the above picture I made a list of names of cement and making companies for example. These names are used repeatedly in these two columns. Suppose we need to remove all the duplicate values from one column then we can select the column and just click on Data>Remove Duplicates

How to remove duplicates in Excel

See in the above picture I have selected the option My data has headers so the column is named Material. Now just click on the OK button.

remove duplicates in excel

Now if we need to remove the duplicate values by keeping the data combination of multiple columns (For Example CEMENT OPC 53 in column A and ULTRATECH in column B together is a unique value). Then select both columns and then go to Data> Remove Duplicates.

See also  Lesson#166: Why Microsoft Excel Is Still the Most Useful Software?
remove duplicates in excel

Now just click the OK button.

remove duplicates in excel

So these are the 5 ways to remove duplicates in Excel.

Join our Telegram channel https://t.me/excelabcd

Here you shall be regularly updated with Excel tips and tricks.

Hi! I am Puspendu. I am the founder and author of Excelabcd. I am little creative person, blogger and Excel-maniac guy. I hope you enjoy my blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

*