|  

» Checking For Duplicate Values Within A Range

Problem:

Columns A & B contain two lists of values.
We want to create a formula that will check whether there is any duplication of values within either list (blank cells are to be ignored).

Solution:

Use the COUNTA, SUMPRODUCT, and COUNTIF functions as shown in the following formula:
=IF(COUNTA(A2:A7)=SUMPRODUCT((A2:A7<>"")/COUNTIF(A2:A7,A2:A7&"")),"No Duplicates","Duplicates")
The formula will return "Duplicates" if the list contains duplicate values, otherwise it will return "No Duplicates".



List1____List2
1________1
2
3________B
A________2
________3
1________4
Screenshot // Checking For Duplicate Values Within A Range
Checking For Duplicate Values Within A Range


Rate This Tip
12 34 5
Rating: 2.90     Views: 41857
Turn off looking for linked spreadsheets
DHeacock
I frequently open sheets sent to me from our field office that have multiple links to sheets located there only.
I must click on the box seeking these sheets several times for each spreadsheet that I open. I would like this turned off.
How do I do it?
Text to columns
DHeacock
I download data from a DB into excel and then convert text to columns.
Some of the well data goes into the proper columns but most don't and usually inserts unwanted columns (in the middle of data) that I have to manually remove.
Since I do this every day, can I control the columns so all the wells make the columns properly?
Reply: DHeacock
Alan
Hi DHeacock,

[QUOTE=DHeacock]I frequently open sheets sent to me from our field office that have multiple links to sheets located there only.
I must click on the box seeking these sheets several times for each spreadsheet that I open. I would like this turned off.
How do I do it?[/QUOTE]You should only get that message once upon opening each workbook, but you say that it is happening multiple times for each one?

You could use code to open them without updating links, but to be honest, I find it hard to believe that it is worth the effort - easier just to press 'N' each time you open a workbook.

HTH, but if not, post back and we'll help with the code option, but I seriously doubt the effort is worthwhile for you,

Alan.
Reply: DHeacock
Alan
Hi DHeacock,

[QUOTE=DHeacock]I download data from a DB into excel and then convert text to columns.
Some of the well data goes into the proper columns but most don't and usually inserts unwanted columns (in the middle of data) that I have to manually remove.
Since I do this every day, can I control the columns so all the wells make the columns properly?[/QUOTE]How are you downloading the data? Are you using MS Query? Also what do you mean by 'wells'?

Thanks,

Alan.
AMAZING FORMULA
MAJID JALALI
Really exciltip.com is one the best websit in application software this is GOD GIFT FOR ME and I m thankfull my
God ..........................
Duplicate Entries
Victoria
Hi. I use excel to hold lists of phone numbers for telemarketing. I'm currently using the semi-manual way of CTRL F to find duplicate numbers.
I've been told that there is a formula you can set up that will detect and highlight duplicate entries within a specified column. I was wondering what is the formula, and how do i set it up?
Thanks
Victoria
New Records Entry indentification?
BHARATHBOSS
Hi,

Please help me with the problem.

I get a list of new records everyday in the morning.
that gets updated automatically from the last saved record.

How do i identify the fresh record set

thanks

bharath
SSP
In exceltip.com i found many solution of my problems

Thanx excel tip...

Regard
SS Patel
Locate and Mark Duplicate Entry
Tom Read
I have a list of business names with duplicate business names within the list. I would like to instruct excel to identify those listings which are the same as another without any prompting of what to look for. For example if BHP PTY LTD appears on line A200 and also on A5078 I would like to make those duplicates with true, duplicate or some other refference.
duplicate values
jciii_uy
Columns A:B contain two lists of values.
How could we create a formula that will check whether each of the lists contains duplicate values (disregarding blanks)?

My Question is...

After determining that there are duplicates, can we make a colorcoding of the items found to be duplicate especially if we are talking of voluminous items?

thank you and best regards.

sincerely,

jC

EXCELTIPS is the best....
oldchippy
Take a look at this link, it may help

[url]http://www.j-walk.com/ss/excel/usertips/tip073.htm[/url]
Click here to post comment
For Registered Users
Name
Comment Title
Comments