How to remove duplicates and keep the lowest value in another column in Excel?
When working with datasets in Excel, you may encounter duplicate values in one column with corresponding numbers in another. In such situations, itβs often necessary to remove duplicates while retaining either the lowest or highest value from the other column. This guide outlines straightforward methods to accomplish this efficiently.
Use Remove Duplicates and a formula to delete duplicates but keep the lowest/highest value
Use Kutools for Excel to easily delete duplicates but keep the lowest/highest value
Use Remove Duplicates and a formula to delete duplicates but keep the lowest/highest value
To remove duplicate but keep lowest value, you can apply Remove Duplicates function and a formula.
1. Select and copy column A which contains the duplicate values, and paste them to another place. See screenshot:
2. Then select the values in the pasted list, and click "Data" > "Remove Duplicates", and check "Continue with the current selection" option from the popped out dialog. Click "Remove Duplicates", then in the "Remove Duplicates" dialog, check the column you want to remove duplicates from. See screenshot:
3. Then click "OK", and a dialog pops out to remind you how many duplicates have been removed, click "OK" to close it.
4. Select a cell next to the list you have removed the duplicates from, enter the following formula, press "Shift"+ "Ctrl" + "Enter" keys, and drag fill handle down to the cell you need.
=MIN(IF($A$2:$A$12=D2,$B$2:$B$12))
Now all duplicates have been removed but leaving the lowest values in another column based on the duplicates.
1. If you want to remove all duplicates but leave the highest ones, you can apply the following formula, remember to press "Shift" + "Ctrl" + "Enter" keys.
=MAX(IF($A$2:$A$12=D2,$B$2:$B$12))
2. In the above formulas, A2:A12 is the original list you need to remove duplicates from.
Use Kutools for Excel to easily delete duplicates but keep the lowest/highest value
If you have "Kutools for Excel", you can quickly remove duplicates but only keep the lowest or highest value with its" Advanced Combine Rows" function.
1. Before applying Kutools, you had better to have a copy of the original data. Then select the range cells you want to remove duplicates, and click "Kutools" > "Merge & Split" > "Advanced Combine Rows". See screenshot:
2. In the "Advanced Combine Rows" dialog, select the column you want to remove duplicates from, and then click" Primary Key" to set it as primary key column, and then select the column you want to leave the lowest or highest values in, and click "Calculate" to select "Min" or "Max" as you need. See screenshot:
3. Click "Ok", then the duplicate values have been deleted but keep the lowest one.
Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now
Remove Duplicates But Keep Lowest Value in Another Column 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