Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to delete rows based on duplicates in one column in Excel?

We can quickly delete duplicate rows by Data > Remove Duplicates feature in Excel. But do you know how to delete entire rows based on duplicates in a single column in Excel? This article comes up with several easy methods to settle this matter.

Delete rows based on duplicates in one column with Remove Duplicates feature

Delete rows based on duplicates in one column with Kutools for Excel

Delete rows and combine/sum/average/count values in columns based on duplicates in one column

Easily combine and sum rows based on duplicate values in one column in Excel

Kutools for Excel’s Advanced Combine Rows utility can help Excel users to batch sum, count, average, max, min the values in one column based on the criteria in another column easily. Full Feature Free Trial 60-day!
doc sum by criteria in another column 02

Excel Productivity Tools

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 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial


Delete rows based on duplicates in one column with Remove Duplicates feature

This method will introduce the Remove Duplicates feature to remove entire rows based on duplicates in one column easily in Excel.

1. Select the range you will delete rows based on duplicates in one column, and then click Data > Remove Duplicates.

2. In the popping up Remove Duplicates dialog box, please only check the Column whose duplicate values you will remove entire rows based on, and click the OK button. See screenshot:

3. And then a dialog box will come out and show how many duplicate values have been found and removed. Just click the OK button to close it.

And now entire rows are deleted based on the duplicate values in the specified column. See screenshot:


Delete rows based on duplicates in one column with Kutools for Excel

Sometimes, you may want to delete rows based on all duplicate values in a column, and remain rows with unique values only. In this case, you can try Kutools for Excel’s Select Duplicate & Unique Cells utility.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Select the column whose duplicate values you will remove entire rows based on, and click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:

2. In the opening Select Duplicate & Unique Cells dialog box, please check the Duplicates (Except 1st one) option or All duplicates (Including 1st one) option as you need in the Rule section, check the Select entire rows option, and click the Ok button. See above screenshot:

3. And then a second Select Duplicates & Unique Cells dialog box comes out and shows how many rows based on the duplicates in the selected column have been selected. Click the OK button to close it.

4. Click Home > Delete > Delete Sheet Rows to delete all selected rows with duplicate values. So far you have removed all rows based on the duplicate values in the specified column. See screenshot:

Original range:

If selecting the Duplicates (Except 1st one) option:

If selecting All duplicates (Including 1st one) option:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


Delete rows and combine/sum/average/count values in columns based on duplicates in one column

If you want to delete entire rows based on duplicate values in the specified column, but combine values in other columns based on the duplicates, or just remain the calculation results of summing/ averaging/counting, etc.) in other columns, you can try Kutools for Excel’s Advanced Combine Rows utility.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Select the range where you want to delete rows based on duplicates in one column, and click Kutools > Content > Advanced Combine Rows. See screenshot:

2. In the opening Advanced Combine Rows dialog box, please do as follows:
(1) In the Column section, select the column which contains the duplicate values, and click the Primary Key;
(2) It’s optional. In the Column section, select the column where you will combine values based on duplicates in the specified column, click Combine and then specify a separator from the drop down list. In our case we select the Price column and click the Combine > Comma.
(3) It’s optional. In the Column section, select the column where you will calculate (sum, average, count, etc.) values based on duplicates in the specified column, click the Calculate and then select a calculation type from the drop down list. In our case we select the Amount column and click the Calculate > Sum.

3. Click the OK button. And now all rows are deleted based on duplicates in the specified column, and simultaneously other columns are combined or calculated based on the duplicates in the specified column too. See screenshot:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


Demo: delete rows based on duplicates in one column in Excel

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!


Related articles:


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    kellytte · 1 months ago
    Hi gwen,
    The first method by Remove Duplicates feature, will remove rows from the specified range containing the column.
    If you need to remove the entire rows from the whole worksheet, the Select Duplicate & Unique Cells feature of Kutools for Excel is recommended.
  • To post as a guest, your comment is unpublished.
    gwen · 2 months ago
    the first section is incorrect. When "Removing Duplicates" and only selecting the column you wish to remove duplicates from, the remaining cells are moved up. The row is not deleted!
  • To post as a guest, your comment is unpublished.
    master · 3 months ago
    u really helped me