The Wayback Machine - https://web.archive.org/web/20241122153227/https://www.geeksforgeeks.org/how-to-remove-duplicates-in-excel/
Open In App

How to Remove Duplicates in Excel? 4 Quick & Easy Methods

Last Updated: 16 Jun, 2024

N

Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Are you overwhelmed by cluttered data in your Excel spreadsheets? Knowing how to remove duplicates in Excel can transform your data management process, making your analysis more accurate and efficient. In this guide, we will walk you through the best ways to remove duplicates in Excel, using simple and advanced techniques.

Whether you need to remove duplicate entries in Excel for a cleaner dataset or want to explore advanced Excel tips for removing duplicates, this tutorial has got you covered. With these Excel data cleaning tips, you’ll learn how to effortlessly manage your data, ensuring your reports are reliable and precise. Let’s go through the steps and discover efficient methods to find and remove duplicates in Excel, enhancing your productivity and streamlining your workflow.

How to Find Duplicates in Excel

If you just want to check the duplicate values in your data. You can do that by just highlighting the values and can later decide if you wish to keep the values or delete those duplicates.

To find duplicate values follow the below-mentioned steps:

Step 1: Select the Data

Open the Excel spreadsheet from which you want to check the duplicate values and Select the data.

 Remove Duplicates in Excel

Select the Data

Step 2: Go to Home Tab and Select Conditional Formatting and Click on Duplicate values

Go to the Data tab and select the option of Conditional Formatting. A drop down menu will appear, from the given choices in the menu select click on Highlight Cell Rules. Further drop down will appear. From that drop down options select the option of Duplicate values.

 Remove Duplicates in Excel

Go to Home Tab >> Conditional Formatting >> Duplicate Values

Step 3: Click on Format Cells that Contain and Select the Color Scheme 

As you select the Duplicate Values option, a conditional formatting window will appear on the screen. In the window, go to the Format cells that contain option, click on given values with and a drop down will appear. From the drop down list select the color scheme you wish to highlight and press Done.

 Remove Duplicates in Excel

Select Color Scheme >> Click “OK”

Step 4: Preview the Highlighted Duplicate Values

Now you can check that the duplicate values in the data are highlighted with the selected color.

 Remove Duplicates in Excel

Preview the Values

How to Remove Duplicates in Excel

Those values that repeat in the data are termed Duplicate values which are basically extra copies of the data. To remove extra copies of the values you can follow any of the given below approach.

Method 1: Remove Duplicates Using the Data Tab 

To remove duplicate entries from our data table using the Remove Duplicates option on the Data tab, we have to follow some steps which are as follows:

Step 1: Select the Data

Open the Excel spreadsheet from which you want to remove the duplicate values and Select the data having duplicates.

 Remove Duplicates in Excel

Select the Data

Step 2: Go to Data Tab and Select Remove Duplicates

Go to Data Tab given at the toolbar and Select the Remove Duplicates option.

 Remove Duplicates in Excel

Go to Data Tab >> Click on “Remove Duplicates”

Step 3: Select Column

In the displayed pop-up window, select the columns from which we want to remove duplicates and then click on Ok Button. Here, we have selected columns Name and Marks.

 Remove Duplicates in Excel

Select the Columns

Step 4: Preview the Removed Duplicates

All the duplicates will be removed. You can Check in the sheet.

 Remove Duplicates in Excel

Preview the Changes

Method 2: Remove Duplicates Using the Advanced Filter Option

 To remove duplicate entries from our data table using the Advanced Filter Option on the Data tab, we have to follow some steps:

Step 1: Select the Data

Open the excel sheet and Select all the data from which duplicates needs to be removed.

 Remove Duplicates in Excel

Select the Data

Step 2: Go to Data Tab and Select Advanced Filter

Access the Data Tab and under the sort and filter section select the Advanced filter option.

 Remove Duplicates in Excel

Go to Data Tab >> Click on “Advanced”

Step 3: Apply Check on Unique Records Only

A pop-up window will appear on the screen, and we have to tick mark or check on Unique records only option given and press Ok Button.

 Remove Duplicates in Excel

Apply Check on “Unique Records” >> Click “OK”

Step 4: Preview the Removed Duplicates

All the duplicates are removed.

 Remove Duplicates in Excel

Preview the Removed Duplicates

Method 3: Remove Duplicates Using Formulas

To remove duplicate entries from our data table using formulas, we have to first make a new column name Combined to combine all the columns of our data. And then we apply the following steps:

Step 1: Use the Combine Operator

To combine all the columns, we use the combine operator &

=A2 & B2

 Remove Duplicates in Excel

Use Combine Operator

Step 2: Make Another Column and Use Countif Function

Make another column named COUNT to count the number of duplicates of this entry using the COUNTIF function, that takes the criteria and the cell that duplicates we want to count.

Here C$2:C6 shows the range of the data in which we want to find duplicates and C2 is the cell that duplicates we want to count

=COUNTIFS(C$2:C6,C2)

 Remove Duplicates in Excel

Use Countif

Step 3: Remove Duplicates Using Data Tab

Now we have the number of duplicate values, so we can apply above discussed approach to remove duplicates. We are removing Duplicates using Remove Duplicates Option on Data Tab .

Go to the Data Tab and click on the Remove Duplicates option.

 Remove Duplicates in Excel

Go to the Data tab >> Click on Remove Duplicates

  • A pop-up window will appear. Click on Remove Duplicates
 Remove Duplicates in Excel

Click on “Remove Duplicates” button

  • Another pop-up window will appear, click on OK.
 Remove Duplicates in Excel

Click “Ok”

  • All the duplicates will be removed.
 Remove Duplicates in Excel

Duplicates Removed

Method 4: Remove Duplicates Using the Power Query Tool

 To remove duplicate entries from our data table using Power Query Tool we apply the following steps:

Step 1: Access the Data Tab and Select From Table

Go to Data tab given at the top and under Get & Transform section select From Table option.

 Remove Duplicates in Excel

Go to Data Tab >> Click “From Table”

Step 2: Check My table Has headers

A pop-up window will appear on the screen. In the window, tick mark the check on My table has headers and click on Ok button.

 Remove Duplicates in Excel

Check on “My table has Header” >> Click “Ok”

Step 3: Power Query Editor Displayed

Now, the Power Query Editor opens on the screen.

 Remove Duplicates in Excel

Power Query editor appears

Step 4: Go to the Home tab and Select Remove Duplicates

Go to the Home tab and click on Remove Rows and in this option click on Remove Duplicates.

 Remove Duplicates in Excel

Select Remove Duplicates

Step 5: Preview the Removed Duplicate Values

Check all the duplicated values are deleted.

 Remove Duplicates in Excel

Preview Changes

Conclusion

Mastering the technique of removing duplicates in Excel is essential for maintaining clean and accurate data. By learning how to remove duplicates in Excel, you can efficiently manage your datasets and enhance your data analysis. Using methods to remove duplicate entries in Excel ensures that you retain one instance of each unique value, optimizing your workflow and making your reports more reliable.

How to Remove Duplicates in Excel – FAQs

How to easily remove duplicates in Excel?

Remove duplicates from excel easily by following these steps:

  • Open Your Excel Workbook
  • Select your Data
  • Navigate to the Data Tab
  • Remove Duplicates
  • Choose Columns to Check for Duplicates

What is the shortcuts of removing duplicates from a column in Excel?

Shortcut : To access the Remove Duplicates command on the Data tab on the Ribbon:

Press Alt > then press A > then press M .

How do I remove duplicates in Excel with multiple conditions?

  • Open Your Workbook:.
  • Select Your Data Range:
  • Navigate to the Data Tab:
  • Remove Duplicates:
  • Select Columns for Multiple Conditions:
  • Confirm and Remove

How to remove duplicates in excel but keep one?

Use the “Remove Duplicates” feature in Excel: Go to the Data tab, click “Remove Duplicates“, select the columns to check, and click OK. This keeps one instance of each duplicate row and removes the rest.

Why am I not able to remove duplicates in Excel?

  • Open Your Workbook:
  • Select Your Data Range:
  • Navigate to the Data Tab:
  • Remove Duplicates:
  • Select Columns to Check for Duplicates:
  • Confirm and Remove


N

News
Improve
Discuss

How to Compare Two Columns in Excel : Easy and Quick Methods

article_img
In the world of data analysis, knowing how to compare two columns in Excel is a fundamental skill that can unveil valuable insights and ensure data accuracy. If you're looking to spot differences, find duplicates, or identify similarities, mastering Excel's compare columns functionality is key. This article will walk you through effective methods on how to compare two columns in Excel, exploring techniques to streamline your workflow and make informed decisions. By the end, you'll be equipped with the knowledge to confidently manage and analyze your data using Excel compare two columns features. Let's explore and learn the power of data comparison! Table of Content Why Compare Two Columns in ExcelHow to Compare Two Columns in ExcelCompare Two Columns in Excel using Conditional FormattingHighlight Unique DataCompare Two Columns in Excel Using Equals OperatorCompare Two Columns in Excel Using the IF Condition Using the Lookup Function to Compare Two ColumnsWhy Compare Two Columns in ExcelExcel is a versatile tool that stores data and manipulates data for better decision-making. We are required to compare Excel columns data for the following reasons: To find the unique value in the da
Read More

How to Find Duplicates in Excel: 4 Easy Methods

article_img
How can I Find duplicates in Excel - Quick StepsSelect the Cells you want to check for duplicatesGo to Home>> Click on Conditional Formatting Highlight Cells Rules >> Duplicate ValuesIdentifying duplicates in Excel is crucial for maintaining data integrity, whether you’re managing inventory, financial records, or large datasets. This comprehensive guide covers how to locate duplicates in Excel using various methods. You can utilize Conditional Formatting to excel select duplicates rapidly or employ the built-in "Remove Duplicates" feature to xls remove duplicates efficiently. For more precise control, you can also use Excel functions like COUNTIF or COUNTIFS that helps in counting duplicates in Excel. Whether you need to highlight, delete, or analyze duplicate entries, this guide will help you manage them efficiently and keep your spreadsheets accurate and organized. Always double-check before deleting data to avoid unintended loss of important information. Table of Content How to Find Duplicates in Excel?Method 1: Using Conditional Formatting to Highlight DuplicatesMethod 2: Using the Remove Duplicates ToolMethod 3: Using Formulas to Identify DuplicatesMethod 4: Using
Read More

How to Use ChatGPT in Telegram: Easy & Quick Methods

article_img
Among the foremost feature-rich informing apps accessible is Telegram, which has over 700 million month-to-month dynamic clients worldwide. ChatGPT in Telegram was among the primary ones to receive the concept of bots. The bots have empowered computerized capacities, such as record transformation, broadcasting, and email administration. As one might anticipate, AI chatbots are far too exceptionally well-known on Telegram. Having ChatGPT on telegram makes receiving instant answers to your queries easy. The best part is that you can also engage in voice-based conversations with ChatGPT. Capturing human-like interactions and remembering the context of the discussions is one of ChatGPT's primary advantages. Although many people still find it difficult to access, particularly on mobile devices, this makes it the perfect chatbot. In this article, we'll explore ways to answer the most popular query - How to Use ChatGPT in Telegram. Table of Content How to Set Up ChatGPT for TelegramHow To Use ChatGPT in Telegram? BuddyGPT: How to Use ChatGPT in Telegram? Using ChatGPT Telegram Bot Free with Roger Da VinciHow To Use ChatGPT on Telegram with ChatGPT Bot?Benefits of Using ChatGPT Bot on Tele
Read More

How to Separate First and Last Names in Excel: 3 Easy Methods

article_img
How to Split Names in Excel - Quick StepsOpen MS Excel>>Select the ColumnOpen Text to Columns WizardChoose Delimited>>Select DelimitersSet Destination>>Adjust ColumnsIn Microsoft Excel, it’s common to have a list of full names in a single column and need to split them into separate first and last name columns. Wondering how to separate names in Excel? There are several effective ways to split names in Excel, including using Text to Columns, formulas, and the Flash Fill feature. This guide will show you how to split name and surname in Excel quickly and efficiently. Table of Content How to Split First and Last Names in Excel: Different MethodsMethod 1: How to Separate Names in Excel Using Text to ColumnsMethod 2: How to Split Name and Surname in Excel with FormulasMethod 3: How to Use Flash Fill to Split Names in ExcelHow to Separate Names in Excel using Find and ReplaceHandling Middle Names or Multiple Spaces in ExcelHow to Split First and Last Names in Excel: Different MethodsWe’ll cover three primary methods to split names in Excel: Method 1: How to Separate Names in Excel Using Text to ColumnsThe Text to Columns feature is one of the easiest ways to separate na
Read More

How to Remove Duplicates From Array Using VBA in Excel?

article_img
Excel VBA code to remove duplicates from a given range of cells. In the below data set we have given a list of 15 numbers in “Column A” range A1:A15. Need to remove duplicates and place unique numbers in column B. Sample Data: Cells A1:A15 Final Output: VBA Code to remove duplicates and place into next column (B) Declare Variables: VariablesData TypeCommentsnonDuplicateBooleanIt is a Boolean value (True/False).uNoIntegerCount no of Unique items in column BcolAIntegerIteration column A cellscolBIntegerIteration column B cells'Variable Declarations Dim nonDuplicate As Boolean, uNo As Integer, colA As Integer, colB As Integer Always first value will be unique, So A1 place to cell B1 'Place first value to B1 Cells(1, 2).Value = Cells(1, 1).Value Initialize variables: 'Initialize uNo = 1 since first number is already placed in column B; Assign True to the variable nonDuplicate uNo = 1 nonDuplicate= True Since the first number is already placed in cell B1, Loop starts from A2 to A15. Take each number from Column A and check with Column B (unique range) 'Use for loop to check each number from A2 to A15 For colA = 2 To 15 For colB = 1 To uNo if the number is already placed in column B. Ass
Read More

Data Table In Excel : One Variable and Two Variable (In Easy Steps )

article_img
Data Table is a tool present in Microsoft Excel as one of the three What-If Analysis tools namely Scenario Manager, Goal Seek, and Data Table. It is a tool, that allows one to try out various input values for the formulas present in their sheet and see how changes in those values affect the output in the cells. To apply a data table tool anywhere in the Excel sheet, there must be a table and the formula whose values will be replaced by the row and column values must be kept in the top-left corner or the top-right corner of the table according to the variables used to replace the formula values. In this article, we will learn about data tables in Excel. What is a Data Table in ExcelExcel data tables shine brightest when dealing with intricate formulas that rely on multiple variables. With the ability to manipulate diverse inputs and witness the ripple effect on formula outcomes, data tables provide an invaluable avenue for comparative analysis and insightful decision-making. Currently, two variations of data tables grace Excel's repertoire: the one-variable data table and the two-variable data table. While the two-variable data table is restricted to a maximum of two distinct input
Read More

How to Sort Data in Excel: Easy Step by Step Process

article_img
Sorting data in Excel is a fundamental skill that can greatly enhance your data analysis capabilities. Whether you're dealing with a simple list or a complex dataset, knowing how to sort data in Excel can help you organize and make sense of your information quickly and efficiently. In this article, you will learn the easy, step-by-step process of sorting data in Excel. From basic alphabetical or numerical sorting to more advanced multi-level sorts, you'll learn how to manage your data like a pro. Know how to organize your data in Excel by using some sorting techniques. Microsoft Excel offers two widely used features: sorting and filtering. They are frequently used in data analysis to set up, organize, and subset your data according to particular criteria. You will discover how to sort data in Excel in this article. You will also get knowledge of data filtering. Table of Content What is Sorting in ExcelHow to Sort a Single Column in ExcelHow to Sort Multiple Columns in ExcelHow to Apply a Custom Sort in Excel Types of Filter in ExcelHow to Apply Filter in ExcelHow to Apply an Advanced Filter in ExcelWhat is Sorting in ExcelSorting is the process of arranging the strings or integers
Read More

How to Wrap Text in Excel: In 2 Easy Steps

article_img
Mastering how to wrap text in Excel can greatly enhance your productivity and ensure your spreadsheets are more readable and organized. Whether you're managing large datasets or creating detailed reports, knowing how to wrap a text in Excel allows you to keep all your information visible without cluttering your cells. This guide will walk you through the simple steps of how to do wrap text in Excel and all the Excel wrap text ways, making your data presentation clean and professional. Let's start and learn this essential skill to streamline your Excel experience! Table of Content What is Wrap Text in Excel?How to Wrap Text in Excel AutomaticallyHow to Wrap Text Using Keyboard Shortcut in ExcelHow to Wrap Text in Excel Using Format Cells How to Insert a Line Break ManuallyRemoving Wrap Text via RibbonHow to Unwrap Text in Excel using Right ClickWhat is Wrap Text in Excel?When you enter Text in the Cell, sometimes the Content might be longer than the cells' width. As a result, Excel trims the text and only a part of the whole is visible, leading to an incomplete information display. Wrap text in Excel allows the entire text to be fully shown within the cell by adjusting the cell's he
Read More

How to Split Cells in Excel: In 5 Easy Steps

article_img
How to Split Cells in Excel - Quick StepsOpen MS ExcelSelect Data Go to the Data tab.Click Text to Columns.Choose Delimited and click NextSplitting cells in Excel is a powerful technique that allows you to organize and manipulate your data with precision. If you're dealing with names, addresses, or any other type of information stored in a single cell, learning how to split cells in Excel can significantly enhance your data management capabilities. This process involves splitting Excel cells into multiple cells, making it easier to analyze and work with specific data points. By learning how to split cell in Excel, you can ensure your spreadsheets are not only more organized but also more efficient, allowing for quicker data analysis and reporting. Get ready to streamline your workflow and take your Excel skills to the next level with this essential guide on how to split cells in Excel. Table of Content What are Split Cells in ExcelHow to Split Cells Using Text to Columns Wizard in ExcelHow to Split Cells Using Excel Formulas in ExcelHow to Split Cells Using Flash Fill in ExcelHow to Split Cells Using Power Query in ExcelWhat are Split Cells in ExcelSplitting cells in Excel is essen
Read More

How to Hide and Unhide Columns in Excel 2024: Easy Steps and Tips

article_img
Want to master Excel and improve your data management skills? Knowing how to hide and unhide columns in Excel can streamline your workflow, especially when dealing with large datasets. Instead of deleting columns, hiding them allows you to focus on essential information. In this 2024 article, you will learn effective methods for hiding and unhiding columns in Excel, ensuring a cleaner and more organized spreadsheet. We'll cover everything from hiding columns in Excel 2016 to using formulas to manage your spreadsheet's visibility. By the end of this article, you'll be able to easily hide and unhide columns in Excel, making your workflow smoother and more organized. Let's get started and explore the various methods and shortcuts to hide columns in Excel. Table of Content How to Hide the Column in ExcelWhat is Hiding a Column in Excel How to Hide a Column Using Ribbon in ExcelHow to Hide Columns in Excel using Shortcut How to Hide Columns Using a Context Menu in ExcelHow to Hide Excel Columns by Setting the Column Width as ZeroHow to Hide Column Using VBA CodeHow to Hide Unused Column in Excel How to Hide and Show Columns using the Group FeatureHow to Hide Columns with Plus (+) Sign H
Read More
three90RightbarBannerImg