DUPLICATE VALUES

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am adding records and want a warning to appear if there are duplicate
values in 3 columns - Project; Name; Phase
If all three are duplicated then warning phrase should appear
It will be allowable to have 2 out of 3 duplicate ie same Project; same
name; differnt phase is OK

Any takers

Thanks
 
Hi,
Say your data is in columns A,B and C in rows 2 to 7 then put this formula
in D2

=IF(SUMPRODUCT(--($A$2:$A$7=A2),--($B$2:$B$7=B2),--($C$2:$C$7=C2))=1,"Unique","Duplicate")

Copy the formula down to D7

Alok
 
Alok
Thanks very much

Saintsman

Alok said:
Hi,
Say your data is in columns A,B and C in rows 2 to 7 then put this formula
in D2

=IF(SUMPRODUCT(--($A$2:$A$7=A2),--($B$2:$B$7=B2),--($C$2:$C$7=C2))=1,"Unique","Duplicate")

Copy the formula down to D7

Alok
 

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

Back
Top