


How to delete duplicate data in batches in Excel? Two methods are recommended!
Duplicate data may become a problem when working in Excel. They impact data accuracy and hinder analysis and decision-making. In order to solve this common problem, PHP editor Xiaoxin will introduce several efficient PHP methods in this detailed guide to help you easily identify and delete duplicate data. This article will cover a variety of techniques, from built-in functions to custom scripts, to provide you with the information you need to keep your Excel data tidy and free of duplicates.
This article will introduce two methods to delete **duplicate** data in Excel in batches, and further explain how to protect the organized **data** from being modified at will.
Method 1: Use the "Delete Duplicates" function
This method is simple and straightforward and suitable for most situations. Let's take the following picture as an example to see how to operate.
1.Select the data range
After opening the Excel file, click and drag the mouse to select the area containing repeated data, or click the button in the upper left corner of the table to select the entire worksheet.
2. Turn on the "Delete Duplicates" function
In the menu bar, click the "Data" tab, then find and click the "Remove Duplicates" button in the "Data Tools" group.
3.Select the columns to check
After the "Remove Duplicates" dialog box pops up, we can select the columns to check for duplicate data. If the data contains header rows, you need to check the "Data contains headers" option.
4. Confirm to delete duplicates
After selecting the columns you want to check, click "OK". Excel automatically checks for duplicate data in the selected range and removes duplicates.
After the deletion is completed, Excel will pop up a dialog box showing how many duplicate values have been deleted and the number of unique values remaining.
Method 2: Use advanced filtering function
This method is suitable for situations where duplicate data needs to be processed more flexibly. Let’s take the following picture as an example to see how to operate.
1. Turn on advanced filtering
After opening Excel, select the entire range containing the data, and then in the "Data" tab, click the "Advanced" button in the "Sort & Filter" group.
2.Set filter conditions
In the pop-up dialog box, select "Copy filtered results to other locations", then set the target range and the save location of the filtered data (i.e. "Copy to"), and finally remember to check "Select non-duplicate records".
3. Apply filters
After the settings are completed, click "OK" and Excel will copy the unique records to the specified location.
Protect your data:
After cleaning your data and removing duplicates, the next step is to protect this data from unauthorized modifications. We can achieve this by setting a "restriction password".
First, select the worksheet that needs to be protected, then click the "Review" tab in the menu bar, and then click the "Protect Worksheet" button.
In the pop-up dialog box, enter the protection password and select the operations you want to allow users to perform, such as selecting cells, formatting cells, etc. After the settings are completed, click "OK". The Excel table will be locked and cannot be edited or modified.
If you need to modify the table again later, you only need to click the "Review" tab in the menu bar, and then click the "Unprotect Worksheet" button. When the dialog box pops up, enter the password originally set, and the "restricted password" of Excel will be lifted. .
Notes:
1. Back up data
Before deleting duplicates, it is recommended to back up the data to prevent accidental deletion of important information.
2. About password
After setting a password for the Excel table, remember to remember it or save it, because if you forget the password, you cannot lift the restrictions in Excel.
In this case, you need to use other tools to lift Excel restrictions.
For example, Pepsi Niu Excel password recovery tool can directly remove the "restriction password" of Excel without using a password. You only need to select the "Unrestriction" module in the tool, and then import the protected Excel to remove it with one click.
That’s it for today’s sharing, I hope these tips will be helpful to everyone!
The above is the detailed content of How to delete duplicate data in batches in Excel? Two methods are recommended!. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Quick link Why should tables be named in Excel How to name a table in Excel Excel table naming rules and techniques By default, tables in Excel are named Table1, Table2, Table3, and so on. However, you don't have to stick to these tags. In fact, it would be better if you don't! In this quick guide, I will explain why you should always rename tables in Excel and show you how to do this. Why should tables be named in Excel While it may take some time to develop the habit of naming tables in Excel (if you don't usually do this), the following reasons illustrate today

This tutorial shows you how to quickly apply, modify, and remove Excel table styles while preserving all table functionalities. Want to make your Excel tables look exactly how you want? Read on! After creating an Excel table, the first step is usual

This tutorial explains how to use MATCH function in Excel with formula examples. It also shows how to improve your lookup formulas by a making dynamic formula with VLOOKUP and MATCH. In Microsoft Excel, there are many different lookup/ref

Improve the accessibility of Excel tables: A practical guide When creating a Microsoft Excel workbook, be sure to take the necessary steps to make sure everyone has access to it, especially if you plan to share the workbook with others. This guide will share some practical tips to help you achieve this. Use a descriptive worksheet name One way to improve accessibility of Excel workbooks is to change the name of the worksheet. By default, Excel worksheets are named Sheet1, Sheet2, Sheet3, etc. This non-descriptive numbering system will continue when you click " " to add a new worksheet. There are multiple benefits to changing the worksheet name to make it more accurate to describe the worksheet content: carry

The tutorial shows how to compare text strings in Excel for case-insensitive and exact match. You will learn a number of formulas to compare two cells by their values, string length, or the number of occurrences of a specific character, a

A must-have for Excel experts: the wonderful use of the F4 key, a secret weapon to improve efficiency! This article will reveal the powerful functions of the F4 key in Microsoft Excel under Windows system, helping you quickly master this shortcut key to improve productivity. 1. Switching formula reference type Reference types in Excel include relative references, absolute references, and mixed references. The F4 keys can be conveniently switched between these types, especially when creating formulas. Suppose you need to calculate the price of seven products and add a 20% tax. In cell E2, you may enter the following formula: =SUM(D2 (D2*A2)) After pressing Enter, the price containing 20% tax can be calculated. But,

Excel remains popular in the business world, thanks to its familiar interfaces, data tools and a wide range of feature sets. Open source alternatives such as LibreOffice Calc and Gnumeric are compatible with Excel files. OnlyOffice and Grist provide cloud-based spreadsheet editors with collaboration capabilities. Looking for open source alternatives to Microsoft Excel depends on what you want to achieve: Are you tracking your monthly grocery list, or are you looking for tools that can support your business processes? Here are some spreadsheet editors for a variety of use cases. Excel remains a giant in the business world Microsoft Ex

Improve Excel efficiency: Make good use of named regions By default, Microsoft Excel cells are named after column-row coordinates, such as A1 or B2. However, you can assign more specific names to a cell or cell range, improving navigation, making formulas clearer, and ultimately saving time. Why always name regions in Excel? You may be familiar with bookmarks in Microsoft Word, which are invisible signposts for the specified locations in your document, and you can jump to where you want at any time. Microsoft Excel has a bit of a unimaginative alternative to this time-saving tool called "names" and is accessible via the name box in the upper left corner of the workbook. Related content #
