tobysdhc

Board Regular
Joined
Aug 11, 2015
Messages
56
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello,

I have a data sheet with columns A-R and about 3200 rows. Column A is a work order number and Column K represent the amount of days it took to complete that work order.

There are situations in which there are duplicate work order numbers (2 jobs at once) and that results in two different dates to complete. I would like to know if there is a way to delete the duplicate row with the lower of the two number in column K.

Below is an example. I would like to know if I can automatically delete Row "1234567" that has "34" days to complete and "3456789" that has "76" days to complete rather than having to go through all 3200 rows. Thank you!

Worker NumberDataDataDataDataDataDataDataDataDays to complete
123456734
123456758
234567845
345678976
345678993
456789013
567890123

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
You could use a helper column with
=MAX(IF($A$2:$A$8=A2,$K$2:$K$8))=K2
this is an array formula & needs to be confirmed with Ctrl Shift Enter
Then filter on false & delete them
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top