I need to add this to a Macro I am working on and this one is beating me right now. Any help is much appreciated.
These are columns B,C,D and E in my spreadsheet.
What I am trying to accomplish is if there is a duplicate value in column "B" to evaluate the numbers in column "E". If the numbers are equal to or greater then the duplicate in column "B", delete the entire row of the lessor value in column "E" or one of the rows which is equal to in column "E"
These are all dups from my spreadsheet as you can see they are not always one right after the other. I am not opposed to sorting the list in any way shape or form.
[TABLE="width: 823"]
<tbody>[TR]
[TD]UIMK79[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/24/2017[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]UIMK79[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]UGJS341[/TD]
[TD]Infosys Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD]UISS132[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]48[/TD]
[/TR]
[TR]
[TD]UGRS275[/TD]
[TD]Principle Solution Group[/TD]
[TD="align: right"]11/18/2017[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD]UGRS275[/TD]
[TD]Principle Solution Group[/TD]
[TD="align: right"]11/18/2017[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]UGDB160[/TD]
[TD]Infosys Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]48.5[/TD]
[/TR]
[TR]
[TD]UGSA164[/TD]
[TD]Cognizant Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]45[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
These are columns B,C,D and E in my spreadsheet.
What I am trying to accomplish is if there is a duplicate value in column "B" to evaluate the numbers in column "E". If the numbers are equal to or greater then the duplicate in column "B", delete the entire row of the lessor value in column "E" or one of the rows which is equal to in column "E"
These are all dups from my spreadsheet as you can see they are not always one right after the other. I am not opposed to sorting the list in any way shape or form.
[TABLE="width: 823"]
<tbody>[TR]
[TD]UIMK79[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/24/2017[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]UIMK79[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]UGJS341[/TD]
[TD]Infosys Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD]UISS132[/TD]
[TD]IBM Offshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]48[/TD]
[/TR]
[TR]
[TD]UGRS275[/TD]
[TD]Principle Solution Group[/TD]
[TD="align: right"]11/18/2017[/TD]
[TD="align: right"]49[/TD]
[/TR]
[TR]
[TD]UGRS275[/TD]
[TD]Principle Solution Group[/TD]
[TD="align: right"]11/18/2017[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]UGDB160[/TD]
[TD]Infosys Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]48.5[/TD]
[/TR]
[TR]
[TD]UGSA164[/TD]
[TD]Cognizant Onshore[/TD]
[TD="align: right"]11/17/2017[/TD]
[TD="align: right"]45[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]