Duplicate items

  • Thread starter Thread starter platrami
  • Start date Start date
P

platrami

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?
 
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
 
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
 
I shouild have added change the 100 to the row number appropriate for you range
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top