[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Duplicate Alert Formula

Hello Experts,

I could use your help.  See attached sample file.  I want a formula in cell A2 to display "DUPLICATE" when a duplicate appears in column C?

Thanks,

Gary
Cincinnati
012513Tel-EE-Dup-Check-1-31-13.xlsx
0
garyrobbins
Asked:
garyrobbins
  • 2
  • 2
1 Solution
 
NBVCCommented:
Try:

=IF(SUM(IF(C6:C35<>"",IF(1/COUNTIF(C6:C35,C6:C35)<1,(1/COUNTIF(C6:C35,C6:C35))))),"DUPLICATE","")

confirmed with CTRL+SHIFT+ENTER not just ENTER
0
 
garyrobbinsAuthor Commented:
Thanks, NB_VC.

Is there an alternate way of writing this formula that does not require the confirmation {}?

Gary
0
 
NBVCCommented:
Try:

=IF(COUNTA(C6:C35)>SUMPRODUCT((C6:C35<>"")/COUNTIF(C6:C35,C6:C35&"")),"DUPLICATES","")
0
 
garyrobbinsAuthor Commented:
Yes!  I love that "SumProduct" formula...

I appreciate the prompt response also.   Good job.

Gary
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now