Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default Duplicate values in range of fields

How do I check for duplicate values in a range of cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Duplicate values in range of fields

How do you want to find out? You could use a helper column and use
=COUNTIF(A$1:A$100,A1)1
And copy down, anywhere is says true you have a duplicate.
Or, you could conditionally format (format, conditional format) the first
cell using the same formula, and have the cell highlight in red if its a
duplicate. Then just copy the formatting to the other cells in your range.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Donna" wrote:

How do I check for duplicate values in a range of cells?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Duplicate values in range of fields

Hi Donna,

You could insert a column beside the data and use the following formula. It
will insert the number of similar entries if more than one or blank if only
one.
=IF(COUNTIF($A$1:$A$19,A1)1,COUNTIF($A$1:$A$19,A1 ),"")

alternatively you could use conditional format and set the interior (fill)
color and use the following formula for the condition.

=COUNTIF($A$1:$A$19,A1)1



--
Regards,

OssieMac


"Donna" wrote:

How do I check for duplicate values in a range of cells?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i prevent duplicate values in a range of validated cells? scw Excel Discussion (Misc queries) 1 December 20th 06 09:43 AM
is there a formula that remove duplicate values from a range Martin R Excel Worksheet Functions 3 June 20th 06 01:10 PM
Preventing user entering duplicate values in a cell range Thomas Peters Excel Worksheet Functions 1 November 30th 05 08:00 PM
Duplicate fields does not match up! If statement Patsy Excel Worksheet Functions 1 November 10th 04 10:26 PM
Duplicate fields does not match up! If statement Patsy Excel Worksheet Functions 0 November 3rd 04 03:53 PM


All times are GMT +1. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"