EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login

Excel Remove Duplicates

By Madhuri ThakurMadhuri Thakur

Home » Excel » Blog » Excel Tips » Excel Remove Duplicates

Remove Duplicates in Excel

Excel Remove Duplicates (Table of Contents)

  • Remove Duplicates in Excel
  • How to Remove Duplicates in Excel?
    • #1 – Using Conditional Formatting followed by Filter feature
    • #2 – Using Remove Duplicates feature in Excel
    • #3 – Using COUNTIf Function along with Filter feature in Excel

Remove Duplicates in Excel

Remove Duplicates in excel is used for removing the duplicate cells of one or multiple columns. This is very easy to implement. To remove duplicates from any column, first select the column/s from where we need to remove duplicate values, then from the Data menu tab, select Remove Duplicate under data tools. We will get the window for the same, where we can select and unselect the columns from where we want to remove duplicate values.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

There are three methods of finding and removing duplicate data:

  1. Using Conditional Formatting followed by the Filter feature of Excel.
  2. Using the Remove Duplicate feature in Excel.
  3. Using the COUNTIF function.

How to Remove Duplicates in Excel?

Let’s understand the work of removing excel duplicate values from a given dataset with the below examples.

You can download this Remove Duplicates Excel Template here – Remove Duplicates Excel Template

You can remove duplicate records in a very simple and easy way to excel.

#1 – Using Conditional Formatting followed by Filter feature

For Conditional Formatting

  • There are duplicate occurrences of data in the below table.

Example 1

  • Select a range of cells or tables. Go to the Home Tab in the Excel Ribbon. Click on the Conditional Formatting drop-down list. Select Highlight Cells Rules and then click on Duplicate Values.

Excel Remove Duplicates Step 1-1

  • A duplicate Values dialog box will appear. Select either Duplicate or Unique option that you want to highlight. In this example, we have selected the Duplicate option.

Excel Remove Duplicates Step 1-2

  • Choose the color and font of the highlighted cells in values with a drop-down list and then click on OK.

Excel Remove Duplicates Step 1-3

  • After using the Conditional Formatting feature, the table will look like below:

Excel Remove Duplicates Step 1-4

  • To clear Conditional formatting.

Select a range of cells or tables. Go to the Home Tab in the Excel Ribbon. Click on the Conditional Formatting drop-down list. Select Clear Rules and then click on Clear Rules from selected cells.

Excel Remove Duplicates Step 1-5

How to use Filter for finding Duplicate values in Excel?

The Filter feature allows a user to filter selected data in the spreadsheet. The Advance filter feature allows copying of the resulting filtered list to a new location.

Popular Course in this category
Sale
Excel Training (21 Courses, 9+ Projects)21 Online Courses | 9 Hands-on Projects | 110+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.9 (11,416 ratings)
Course Price

View Course

Related Courses
Excel Data Analysis Training (16 Courses, 8+ Projects)Excel for Finance Training (18 Courses, 7+ Projects)
  • Select the column heading of the table.
  • Go to the Data tab in the Excel Ribbon. Click on Filter.

Excel Remove Duplicates Step 2-1

The table will look like below:

Excel Remove Duplicates Step 2-2

  • To remove duplicates from any column, click on the Filter drop-down icon in the column header. For example, click on Filter by Color and select Filter by Cell Color or Filter by Font Color.

Excel Remove Duplicates Step 2-3

This will show duplicated values which you may delete.

Excel Remove Duplicates Step 2-4

The output will be as shown below:

Excel Remove Duplicates Step 2-5

How to clear Filter?

Select the column header of the table. Click on Filter.

Excel Remove Duplicates Step 2-6

Then the filter will be removed.

Result of Example 1

Points to Remember:

  • The deletion in the above process is done manually.
  • Conditional formatting is used to highlight duplicate cells, whereas Filter->Filter by Cell Color or Filter by Font Color feature is used to filter highlighted duplicate cells in excel.

#2 – Using Remove Duplicates feature in Excel

  • Select the range of cells or table. Next, go to the Data Tab in the Excel Ribbon. In the Data tool group Clicks on Remove Duplicates.

Example 2

  • Remove Duplicates dialog box will appear. To delete duplicate values, select one or more columns that contain possible duplicates. Here in the above example, we have selected Name and Code no columns, as both the columns contain duplicate values, and then click OK.

Excel Remove Duplicates Example 3-2

  • A message box will be displayed, indicating the number of duplicate values that were found and removed and how many unique values remain. In case of no duplicate value, it will display the message. No duplicate values found, and then click OK.

Excel Remove Duplicates Example 3-3

  • The output will be as shown below:

Result of Example 2

Points to be Remember:

  • It is an inbuilt feature in the Data tool of MS-Excel.
  • It removes Excel duplicate data permanently.

#3 – Using COUNTIf Function along with Filter feature in Excel

A COUNTIF function is an easy method of removal of duplicate values in excel. Depending on whether you want to find duplicate values with or without first occurrences, there will be a slight difference in writing the formula.

A formula to find duplicates in Excel, including the first occurrence:
  • Duplicate in words

=COUNTIF(range, criteria)>1

Here, a range in column A and the topmost cell for criteria is A3. Input the formula shown below in the C3 cell. Then, select the C3 cell and drag to copy the formula till C11. The result will appear as True or False.

Example 3

  • Duplicate in numbers

=COUNTIF(range,criteria)

Here, Range is column A, and the topmost cell for criteria is A3. Input the formula shown below in the D3 cell. Select the D3 cell and drag to copy the formula till D11. The result will appear in the count, i.e. number.

Excel Remove Duplicates Example 4-1-2

A formula to find duplicates in Excel without first occurrence:

If you want to filter or remove excel duplicates after finding them, the above formula will create some confusion as it marks True to all the identical records. So, we have to use the following formula to keep the list’s unique values and delete all subsequent repetition of values. Let’s modify our Excel duplicate formula by using absolute (by freezing the cell by using $ sign), and relative cell references wherever appropriate.

  • Duplicate in words

Here the unique value will be displayed as FALSE, whereas the subsequent duplicate values will be displayed as TRUE.

Duplicate in words

  • Duplicate in numbers

Here the unique value will be numbered as 1, whereas duplicate values will be numbered as 2.

Duplicate in numbers

  • Use Filter along with the above cases for finding Duplicate values in excel

Select the column header of the table. Go to the Data tab in the Excel Ribbon. Click on the Filter feature.

Excel Remove Duplicates Example 4-3-1

A dropdown arrow will appear beside the column header.

Excel Remove Duplicates Example 4-3-2

To remove excel duplicates, click on the filter drop-down icon in the column header. Deselect Select All. Select True and then click on Ok.

Excel Remove Duplicates Example 4-3-3

This will show duplicated values which you may delete.

Excel Remove Duplicates Example 4-3-4

The same procedure is to be followed while selecting the drop-down filter arrow of column Duplicates in Numbers. Here the difference is instead of True/False; the option will be given in numbers, i.e. 1,2.

Excel Remove Duplicates Example 4-3-5

Points to be Remember:

  • Here, data are being removed manually using the correct formula.
  • A filter is used to make the task easy.

Conclusion

It is always suggested to copy the original range of data or table to another worksheet or location before deleting or removing duplicates permanently from the worksheet.

Recommended Articles

This has been a guide to Remove Duplicates in Excel. Here we discuss how to remove duplicates in excel using three different methods along with practical examples and a downloadable excel template. You may also look at these useful excel tools –

  1. Excel Data Filter
  2. COUNTIF Excel Function
  3. COUNTIF with Multiple Criteria
  4. Relative Reference in Excel

All in One Excel VBA Bundle (120+ Courses, 30+ Projects)

120+ Online Courses

30+ Projects

500+ Hours

Verifiable Certificates

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup Reference Functions in Excel (34+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (23+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (21+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

Download Remove Duplicates Excel Template

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

डाउनलोड Remove Duplicates Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

🇮🇳 Independence Day Offer - EXCEL COURSE Learn More