Data / Validation / Custom / Formula:-
=COUNTIF($A$10:$A$27,A10)<2
Select cell A10, copy it and paste it across A11:A27. Now try entering two duplicates.
Note - Data Validation can be bypassed by a simple copy and paste from another cell though.
Regards
Ken..............