Solved

Duplicate Alert Formula

Posted on 2013-01-31
4
205 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

813 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

14 Experts available now in Live!

Get 1:1 Help Now