Need to retain dupicate rows delete unique

ronnyg

New Member
Joined
Dec 21, 2007
Messages
5
A little backwards but I have a parts list with duplicate part numbers in column a and other misc. info in other columns. What I want to do is delete the rows that have a unique part number in column a but retain those part number rows that have duplicate part numbers. There might be 2-4 duplicates for a part number.

Any help would be appreciated.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi ronnyg

A couple of options for you

first try putting the data in a Pivot Table and filtering out anything showing only 1 incidence

second use a formula like =COUNTIF($A$2:A2, A2) and copy it downthen filter and delete anything with a 1 next to it.

HTH

Dave
 
Upvote 0
oops sorry. I set this project aside and forgot that I did what was suggested on Thursday but now have all duplicates which is good but in column e I have the supplier name. What I know need to do it retain those duplicate part number rows that exist with only one of each from e. There are only two suppliers. Example below.

Part # Supplier
678 Acme
678 Acme
678 Baker
679 Acme
679 Baker
679 Baker

In the above example, I would want to retain a-c-d-e or b-c-d-f. Either would be fine.
 
Upvote 0
Use a helper column and concatenate the part and supplier then go from there
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,593
Members
452,654
Latest member
mememe101

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