• 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.

CountIf duplicate in other instances, but not first instance [SOLVED]

jassybun

Member
Hey guys! I want this formula to only specify "Duplicate" on all other instances of the duplicate except for the first one. Right now it is showing all instances.


=IF(COUNTIF(W:W,W14)>1,"Duplicate","")


so it would show


1234....... (blank)

1234....... Duplicate

1236........(blank)


INSTEAD of what it is doing now:


1234....... Duplicate

1234....... Duplicate

1236........(blank)
 
If you sort your data by column W then you can make the formula much simpler and faster:


In row 3 (assuming row 3 is the first row of data)

Code:
=IF(W3=W2,"Duplicate","")


and then fill down.
 
Just trying to shorten the length of Narayan formula.. little bit..:)


Code:
=IF(COUNTIF($W$3:W3,W3)-1,"Duplicate","")


Regards,

Deb
 
Back
Top