Looking at my code, I see that the rules apply to columns A and B, looking for duplicates in D. That is an error, my apologies. In any event:

Originally Posted by
Mulsiphix
The code looks awesome

. Although I just noticed a problem. I see that the formulas are detecting duplicates in both Columns. Duplicates only occur in Column D in my data. So highlighting the cells next to duplicate values in column D is impossible, right

?
The solution I provided looks only in column D for duplicates. If that is not what you are seeing then something was changed when you tried to implement my solution in your own file.
Your description in your first post does not match the layout in the file you attached. So now I don't know where you are actually trying to look for duplicates. Your original description says to format columns D and E based on duplicates in column D. Your file looks like you need to format A and B for duplicates in A, and also C and D for duplicates in C.
Here is the revised code that will format columns D and E based on duplicates in D as in your original. If your layout is different then we will have to update the code accordingly. Help me understand the actual target format and we can finish this up.
Bookmarks