How to automatically remove duplicates form 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 auto remove the duplicates from the list? In this article, I introduce the tricks on automatically removing duplicates if there is duplicate appearing in a specify Excel column.
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
1. Click Data > Data Validation. See screenshot:
2. In the popping dialog, under Settings tab, select Custom form Allow list, and type this formula =COUNTIF($A$1:$A$20,A1)=1 into the Formula text box. See screenshot:
In the formula, A1:A20 is the range you want to auto remove duplicate from.
3. Click OK. And now if you type a duplicate value, a warning dialog will pop out.
If you are not familiar with formulas, you can apply Kutools for Excel’s Prevent Duplicate utility to stop from duplicates being typed in range at once.
|Kutools for Excel, with more than 120 handy functions, makes your jobs easier.|
After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)
Select the range or a column you want to auto remove duplicates, and then click Kutools > Prevent Typing > Prevent Duplicate. See screenshot:
Some dialogs pop out for reminding you some notices, click Yes > OK to close the dialogs.
Now a warning dialog pops out to remind you while you try to enter duplicate values.
Here is another relative utility called Prevent Typing, you can specify the character you want to prevent typing or only allow typing in a list as below screenshot show: