#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 76
Default find duplicates

looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
xlm xlm is offline
external usenet poster
 
Posts: 55
Default find duplicates

try data validation

--
If this posting was helpful, please click on the Yes button

Thank You

cheers,









"Dylan @ UAFC" wrote:

looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default find duplicates

Don't know if this will solve your problem or not, but there is an easy way
to get rid of duplicate entries. Highlight the range of phone numbers
including the header row, go to Filter, Advanced. There should be a cell
that says to copy to another place, click that and tell it where you want to
put the entries, then there is a box that says "Unique Entries Only" (or
something like that). Click that and then hit OK. The new list will
contain only unique entries.


"Dylan @ UAFC" wrote in message
...
looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default find duplicates

These formulas assume that your phone numbers are in A1:A10 and the
formulas are entered in B1:B10.

If you want to mark only duplicated items (e.g., if 123 appears three
times, only the second and third instances are marked as duplicates--
the first instance is not marked), enter the following formula in B1
and fill down to B10:

=IF(COUNTIF($A$1:A1,A1)1,"duplicate","")

If you want to mark all items that have duplicates (e.g,. if 123
appears three times, all three instances are marked as duplicates),
enter the following formula in B1 and fill down to B10:

=IF(COUNTIF($A$1:$A$10,A1)1,"duplicate","")

With both formulas, duplicates are marked by the word "duplicate" in
column B, or if the value in column A is not a duplicate, the cell in
column B will be empty.

Change the cell references to your needs. Note, though, that you must
include the $ characters as shown above. If you omit the $ characters,
the formulas will not work properly.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Fri, 12 Dec 2008 22:13:01 -0800, Dylan @ UAFC
wrote:

looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 76
Default find duplicates


I have a few question I am currently using
=if(COUNTIF($b$1:$B$20000,b1)1,"TRUE","FALSE")

When Copy down FALSE will display until it checks for the dup
how can I get the cell remain blank until the date is entered.
Then If possible how could we have the TRUE render in Green
and the FALSE render in Red.

If you are up for a chalange.
If there any possible way to have the TRUE or FALSE hyperlink
you to the place in the worksheet were the duplicated value exisist

"Chip Pearson" wrote:

These formulas assume that your phone numbers are in A1:A10 and the
formulas are entered in B1:B10.

If you want to mark only duplicated items (e.g., if 123 appears three
times, only the second and third instances are marked as duplicates--
the first instance is not marked), enter the following formula in B1
and fill down to B10:

=IF(COUNTIF($A$1:A1,A1)1,"duplicate","")

If you want to mark all items that have duplicates (e.g,. if 123
appears three times, all three instances are marked as duplicates),
enter the following formula in B1 and fill down to B10:

=IF(COUNTIF($A$1:$A$10,A1)1,"duplicate","")

With both formulas, duplicates are marked by the word "duplicate" in
column B, or if the value in column A is not a duplicate, the cell in
column B will be empty.

Change the cell references to your needs. Note, though, that you must
include the $ characters as shown above. If you omit the $ characters,
the formulas will not work properly.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Fri, 12 Dec 2008 22:13:01 -0800, Dylan @ UAFC
wrote:

looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default find duplicates


The formulas I posted will display the word "duplicate" if the row is
a duplicate or display nothing at all if the row is not a duplicate.
I'm not sure way you changed it to "TRUE" and "FALSE" if you don't
want to display those values. As an aside, you're better off not using
the quoted string and use just TRUE and FALSE (no quotes).

You can use Conditional Formatting (CF) from the Format menu to set
conditions that when met will change the format of the cell. Select
the cells to which you want to apply the formatting, and open the
Conditional Formatting dialog from the Format menu. There, enter TRUE
in the equal box and then click the Format button and select the font
color and/or the background (pattern) color for cells that contain
TRUE. Then click the Add button to add a new condition, enter FALSE in
the equals box and click Format to specify the format for FALSE cells.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Sat, 13 Dec 2008 21:48:05 -0800, Dylan @ UAFC
wrote:


I have a few question I am currently using
=if(COUNTIF($b$1:$B$20000,b1)1,"TRUE","FALSE")

When Copy down FALSE will display until it checks for the dup
how can I get the cell remain blank until the date is entered.
Then If possible how could we have the TRUE render in Green
and the FALSE render in Red.

If you are up for a chalange.
If there any possible way to have the TRUE or FALSE hyperlink
you to the place in the worksheet were the duplicated value exisist

"Chip Pearson" wrote:

These formulas assume that your phone numbers are in A1:A10 and the
formulas are entered in B1:B10.

If you want to mark only duplicated items (e.g., if 123 appears three
times, only the second and third instances are marked as duplicates--
the first instance is not marked), enter the following formula in B1
and fill down to B10:

=IF(COUNTIF($A$1:A1,A1)1,"duplicate","")

If you want to mark all items that have duplicates (e.g,. if 123
appears three times, all three instances are marked as duplicates),
enter the following formula in B1 and fill down to B10:

=IF(COUNTIF($A$1:$A$10,A1)1,"duplicate","")

With both formulas, duplicates are marked by the word "duplicate" in
column B, or if the value in column A is not a duplicate, the cell in
column B will be empty.

Change the cell references to your needs. Note, though, that you must
include the $ characters as shown above. If you omit the $ characters,
the formulas will not work properly.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Fri, 12 Dec 2008 22:13:01 -0800, Dylan @ UAFC
wrote:

looking for a way to check for
duplicates in a range
and
say column is list of unique phone numbers
is there are function that would display in a corsiponding
cell to let the data entry know if there is the phone
number is bring duplicated
don't care about highlighting anything


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
find duplicates and concatenate rpick60 Excel Worksheet Functions 1 June 5th 08 03:28 AM
To find duplicates in XL sheet? Ina Andersson Excel Worksheet Functions 1 October 19th 07 11:14 AM
Find duplicates Daniel - Sydney Excel Discussion (Misc queries) 4 September 27th 07 10:03 PM
Find Duplicates Shirley Munro Excel Discussion (Misc queries) 1 February 16th 06 11:56 AM
Find duplicates R. Choate Excel Discussion (Misc queries) 5 November 28th 04 10:14 PM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"