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 remove duplicates but leaving lowest value in another column in Excel?

For instance, there are two columns, A and B, column A includes some duplicate values, and column B contains some numbers, have you any way to remove duplicates from column A but leaving the lowest values in column B as below screenshot shown? This article will give you a favor.
doc remove duplicates leave lowest 1

Remove duplicate but keep lowest/highest value with Remove Duplicates and formula

Remove duplicate but keep lowest/highest value with Kutools for Excel good idea3

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.


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:
doc remove duplicates leave lowest 2

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:
doc remove duplicates leave lowest 3

3. Then click OK, and a dialog pops out to remind you how many duplicates have been removed, click OK to close it.
doc remove duplicates leave lowest 4

4. Select a cell next to the list you have removed the duplicates from, enter this formula =MIN(IF($A$2:$A$12=D2,$B$2:$B$12)), press Shift + Ctrl + Enter keys, and drag fill handle down to the cell you need. See screenshot:
doc remove duplicates leave lowest 5

Now all duplicates have been removed but the lowest values leaved in another column based on the duplicates.
doc remove duplicates leave lowest 6

Note:

1. If you want to remove all duplicates but leave the highest ones, you can apply this formula =MAX(IF($A$2:$A$12=D2,$B$2:$B$12)), remember to press Shift + Ctrl + Enter keys.

2. In the above formulas, A2:A12 is the original list you need to remove duplicates from.


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.

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!)

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 > Content > Advanced Combine Rows. See screenshot:
doc remove duplicates leave lowest 7

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:
doc remove duplicates leave lowest 8

3. Click Ok, then the duplicate values have been deleted but keep the lowest one.
doc remove duplicates leave lowest 9

Tip.with Kutools for Excel’s Advanced Combine Rows, you also can remove duplicate values and then sum numbers in another column as below screenshot shown.If you want to have a free trial of the Extract Text function, please go to free download Kutools for Excel first, and then go to apply the operation according above steps.
doc remove duplicates leave lowest 10


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

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!
officetab bottom
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.

Be the first to comment.