Solved

Duplicate Alert Formula

Posted on 2013-01-31
4
196 Views
Last Modified: 2013-02-01
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
Comment
Question by:garyrobbins
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 38840580
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
 

Author Comment

by:garyrobbins
ID: 38840646
Thanks, NB_VC.

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

Gary
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 38840687
Try:

=IF(COUNTA(C6:C35)>SUMPRODUCT((C6:C35<>"")/COUNTIF(C6:C35,C6:C35&"")),"DUPLICATES","")
0
 

Author Closing Comment

by:garyrobbins
ID: 38840908
Yes!  I love that "SumProduct" formula...

I appreciate the prompt response also.   Good job.

Gary
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now