Attached is a sample workbook that needs to be cleaned up. I need to remove duplicates based on multiple criteria. The criteria are Project Number, Invoice Business Unit and Total. Where it confuses me is that I need to compare these records against each other and delete duplicates on the following conditions.
Does the Project Number Match?
Does the Invoice Business Unit Match?
If the record meets both conditions and the total is zero and is the only one, it stays
If the record meets both conditions and the total is zero and is not the only one, all duplicate records go
If the Project Number matches but the Invoice Business Unit doesn't match, then it stays
If nothing matches, it stays
I hope the example explains this better than what I've typed above. Everything staying is in green, and everything that would be deleted is in yellow. Which zero dollar record that gets deleted is irrelevant as long as one remains from the matching conditions.
Any help or insight would be greatly appreciated.
Bookmarks