How to automatically remove duplicates from a list in Excel?
In Excel, we can use the Remove Duplicates feature to remove the same values from a list, but is there any trick to automatically remove duplicates from the list? In this article, I introduce the tricks on automatically removing duplicates if a duplicate appears in a specific Excel column.
Compare methods for automatically preventing duplicate entries
Auto remove duplicates from a list using Data Validation
Auto remove duplicates from a list using Kutools for Excel ![]()
Compare methods for automatically preventing duplicate entries
Both methods below prevent new duplicate values from being entered into a specified range. They do not remove duplicates that already exist in the list. The main difference is whether you want to build the validation rule yourself or apply a ready-to-use duplicate restriction.
| Method | Best for | Setup | Result |
|---|---|---|---|
| Data Validation | Users who want a built-in Excel solution and control over the validation formula | Create a Custom rule with a COUNTIF formula | Blocks duplicate manual entries and displays a warning |
| Kutools for Excel | Quickly preventing duplicate entries without formulas | Select the range and apply Prevent Duplicate | Blocks duplicate entries and displays a warning automatically |
Auto remove duplicates from a list using Data Validation
1. Click Data > Data Validation. See screenshot:
2. In the popping dialog, under Settings tab, select Custom from the Allow list, and type the formula =COUNTIF($A$1:$A$20,A1)=1 into the Formula box. See screenshot:
In the formula, A1:A20 is the range in which you want to prevent duplicate entries.
3. Click OK. Now, if you type a duplicate value, a warning dialog will appear and the duplicate entry will be prevented.
Auto remove duplicates from a list using Kutools for Excel
If you are not familiar with formulas, you can apply Kutools for Excel’s Prevent Duplicate utility to stop duplicate values from being entered into a selected range without setting up a validation formula manually.
Select the range or column in which you want to prevent duplicate entries, and then click Kutools > Prevent Typing > Prevent Duplicate. See screenshot:
Some dialogs appear to remind you of certain notices. Click Yes > OK to close the dialogs.
Now, when you try to enter a value that already exists in the selected range, a warning dialog appears and prevents the duplicate entry.
Here is another related utility called Prevent Typing. You can specify characters that users are not allowed to enter, or define characters that are allowed in the selected range, as shown below:
Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now
Demo: Auto Remove Duplicates Entries using Kutools for Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in