I've tried with my logic, I feel I've given all possibilities.
=IF(OR(SUM(--ISBLANK(A2:C2))=1,SUM(COUNTIF(A2:C2,A2:C2))>3),"duplicate","")