#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Duplicate items

If I have the following:


Column A

Mike Soren
Jim McGree
Paul Jackson
James Banton
Mike Soren


How can I have a formula that notices I just entered in "Mike Soren" a
second time in column A?
and maybe it will change the color of the text? or sound a warning
beep?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Duplicate items

Hi,

Conditional formatting should do what you want.
Select your column of data including empty cells where you may enter
additional names and then

Format|Conditional format
Select 'Formula is'
enter the formula
=COUNTIF($A$1:$A$100,A1)1
Pick a colour and click OK

Duplicated names will now be highlighted and if you add a new name that is a
duplicate both will be highlighted. Change Column A to your column

Mike

" wrote:

If I have the following:


Column A

Mike Soren
Jim McGree
Paul Jackson
James Banton
Mike Soren


How can I have a formula that notices I just entered in "Mike Soren" a
second time in column A?
and maybe it will change the color of the text? or sound a warning
beep?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Duplicate items

Assuming that your data are in A1:A100 you could use following conditional
formatting formula for A1 (Menu Format|Conditional Formatting):

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

apply the desired format for this condition, push 'OK' and copy the format
down to A100 (easiest way is to use the format painter).

JM



wrote in message
...
If I have the following:


Column A

Mike Soren
Jim McGree
Paul Jackson
James Banton
Mike Soren


How can I have a formula that notices I just entered in "Mike Soren" a
second time in column A?
and maybe it will change the color of the text? or sound a warning
beep?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Duplicate items

I shouild have added change the 100 to the row number appropriate for you range

"Mike H" wrote:

Hi,

Conditional formatting should do what you want.
Select your column of data including empty cells where you may enter
additional names and then

Format|Conditional format
Select 'Formula is'
enter the formula
=COUNTIF($A$1:$A$100,A1)1
Pick a colour and click OK

Duplicated names will now be highlighted and if you add a new name that is a
duplicate both will be highlighted. Change Column A to your column

Mike

" wrote:

If I have the following:


Column A

Mike Soren
Jim McGree
Paul Jackson
James Banton
Mike Soren


How can I have a formula that notices I just entered in "Mike Soren" a
second time in column A?
and maybe it will change the color of the text? or sound a warning
beep?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Duplicate items

On Aug 19, 12:44*am, Mike H wrote:
Hi,

Conditional formatting should do what you want.
Select your column of data including empty cells where you may enter
additional names and then

Format|Conditional format
Select 'Formula is'
enter the formula
=COUNTIF($A$1:$A$100,A1)1
Pick a colour and click OK

Duplicated names will now be highlighted and if you add a new name that is a
duplicate both will be highlighted. Change Column A to your column

Mike



" wrote:
If I have the following:


Column A


Mike Soren
Jim McGree
Paul Jackson
James Banton
Mike Soren


How can I have a formula that notices I just entered in "Mike Soren" a
second time in column A?
and maybe it will change the color of the text? or sound a warning
beep?- Hide quoted text -


- Show quoted text -


Mike thank you so much! that helped me big time!! I really appreciate
it!
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
Getting Duplicate items when adding to toolbar djmillis Excel Discussion (Misc queries) 0 May 9th 08 02:43 PM
Duplicate and unique items in 2 lists Vince Excel Discussion (Misc queries) 1 August 23rd 06 07:19 AM
subtracting (extracting non-duplicate items)HELP!! rtek Excel Worksheet Functions 2 May 16th 06 01:24 PM
Checking for duplicate items in list TheRobsterUK Excel Worksheet Functions 3 November 10th 05 07:03 PM
How to get rid off duplicate items? Svea Excel Discussion (Misc queries) 5 October 24th 05 12:34 AM


All times are GMT +1. The time now is 09:23 AM.

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"