Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mark Duplicates

Status
Not open for further replies.

ptrifile

Technical User
Aug 10, 2004
457
0
0
US
I have a spreadsheet that I need to identify duplicates and I am successfully using =IF(COUNTIF(C:C,C2)>1,"Duplicate","") to do so. I need to know if it is possible to do the following:

I would like the "duplicate" to show for all of the duplicates except for the last entry for each duplicate.....I hope this makes sense.

Thanks in advance for any help.

Paul
 
Hi,

=IF(COUNTIF(C2:$C$99999,C2)>1,"Duplicate",if(countif(C2:$C$99999,C2)=1,"FIRST".""))

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top