• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

The Dominant Duplicate

Patrick

New Member
Hi Guys,

I have a 2 variable table, X & Y. I want to find duplicates in X and, flag the duplicate with a lower Y value. X & Y are text strings and, there are only 4 options for Y.

I tried to write it using sumproducts and countifs but had no luck. Your help is much appreciated. Sample is attached.
 

Attachments

  • Dominant Duplicate.xlsx
    8.1 KB · Views: 0
see the conditional formatting in column A
 

Attachments

  • chandoo24796Dominant Duplicate.xlsx
    8.7 KB · Views: 0
see the conditional formatting in column A
Thanks p45cal, that is a great formula. I wont be able to use min if Y is a text string though. If Y could only be 4 different names how could you do it?
Edit: John > Joe > Jack
 
Last edited:
re:"flag the duplicate with a lower Y value"
so how do you decide, among names which is the lower value - alphabetic?

Otherwise, if there are only 4 different names, will they always be the same 4 names?
 
re:"flag the duplicate with a lower Y value"
so how do you decide, among names which is the lower value - alphabetic?

Otherwise, if there are only 4 different names, will they always be the same 4 names?
It is not alphabetic, they will need to be assigned values. Yes it will be the same 4 names.
 
Back
Top