Pls help with Excel Function

  • Thread starter TotallyConfused
  • Start date
T

TotallyConfused

I have a list of thousands of records. I need to identify duplicates. There
can be more than one duplicate. I am using this function
=IF(countif(B$2:B$3000,B2)>1, "Duplicate","No Dup"). This marks all the same
rows duplicate. I would like for the function to look at the first dup not
mark it dup and only mark the next row if dup as Duplicate. For instance:

Duplicate testing No dup testing
Duplicate testing Duplicate testing
Duplicate testing Duplicate testing
Duplicate Monday No dup Monday
Duploicate Monday Duplicate Monday
 
L

Lars-Åke Aspelin

I have a list of thousands of records. I need to identify duplicates. There
can be more than one duplicate. I am using this function
=IF(countif(B$2:B$3000,B2)>1, "Duplicate","No Dup"). This marks all the same
rows duplicate. I would like for the function to look at the first dup not
mark it dup and only mark the next row if dup as Duplicate. For instance:

Duplicate testing No dup testing
Duplicate testing Duplicate testing
Duplicate testing Duplicate testing
Duplicate Monday No dup Monday
Duploicate Monday Duplicate Monday


Try this formula in cell C2

=IF(COUNTIF(B$2:B2,B2)>1,"Duplicate","No Dup)

Copy it down column C.

The only difference to the formula that you have is that B$3000 is
replaced with B2, i.e. only the rows above and including the current
row are included in the counting.

Hope this helps / Lars-Åke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top