Need help finding duplicates based on multiple criteria

Zaragoza

New Member
Joined
Jul 11, 2014
Messages
20
I have a spreadsheet with a fixed number of columns and a variable number of rows. Data is contiguous in Column B and is sorted by Serial Number.

Renewal Type Serial Number Row Type Controller Service End Date
70000000000 SYSTEM 10/31/2014
70000000000 SOFTWARE
Software Only 70000000000 STORAGE
Shelf Only 70000000001 SYSTEM 10/31/2014
70000000001 SOFTWARE
70000000001 STORAGE
Software Only 70000000001 SYSTEM
70000000002 SYSTEM 10/31/2014
70000000002 SOFTWARE
70000000002 STORAGE
70000000002 SYSTEM 10/31/2017

<colgroup><col span="2"><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>

I need to mark and then remove duplicates and it has to be done in VBA because the scrubbed data needs to be uploaded to a web application that makes it easier for a user to write to the original data set.

The challenge is that duplicates should only be identified when the values on all 4 rows are duplicated. (For instance serial 700000000001 can have multiple STORAGE lines with different end dates...or Serial 70000000001 can have more than one entry for the same system and the only difference is the Renewal Type) So to simplify. I need to mark each row that is duplicated across all 4 columns.

I'd appreciate any help at all...even if its just a nudge in the right direction. Thanks.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Are your entries grouped at all, see example.

Which of the following two examples would be the result you wanted?


Excel 2010
ABCDE
1Renewal TypeSerial NumberRow TypeController Service End Date
2Shelf Only70000000001SYSTEM10/31/2014
370000000001SOFTWARE
470000000001STORAGE
5Shelf Only70000000001SYSTEM10/31/2014Delete
670000000001SOFTWAREDelete
770000000001STORAGEDelete
8
9Renewal TypeSerial NumberRow TypeController Service End Date
10Shelf Only70000000001SYSTEM10/31/2014
1170000000001SOFTWARE
1270000000001STORAGE
13Shelf Only70000000001SYSTEM10/31/2014Delete
1470000000001SOFTWARE
1570000000001STORAGE
Sheet2
 
Upvote 0
Based on the data in your table the second option is what i'm looking for and No the data is not grouped. Its a long list in which only the serial number column is contiguous.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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