Preventing Duplicate Entries within a column

  • Thread starter Thread starter Bruce
  • Start date Start date
B

Bruce

Is there an easy way to prevent creating duplicate
entries within a given column in Excel?
Alternately....is there a way to automatcially highlight
a cell / row when a duplicate entry is created within a
given column?
 
Assuming your entry-range begins in A3 and downward to A100
Select Cell A4, then at the menu, select Data, Validation, Allow: Custom
In the formula Box enter:
=IF(COUNTIF($A$3:$A4,$A4)>1,FALSE,TRUE)
then OK (out).
While A4 is Blank or empty, Copy it and paste from A5:A100.
Done.
HTH
 
To highlight duplicates:
Select column A
From Format menu | Conditional Formatting
Formula Is: =COUNTIF($A:$A, $A1)>1
Then format as Bold, or Red or whatever.
 

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

Similar Threads

Help needed 0
duplicate data 1
Highlihting duplicate entries 3
Duplicates Deletion ? 2
Finding duplicate time punch entries 1
Access Auto Matching Duplicates? 0
Finding Duplicate Cell Entries 6
Duplicate data 2

Back
Top