Restricting Duplicate Entry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In cell A1 to A250 i would enter employee ID (Numeric Figure) so i would
require to restrict any duplicate entry shouldnot be made in any of the cells
A1 : A250. I can't figure out how to do that ....

Any sugesstion will be welcome...
 
One way ..

Select A1:A250

Click Data > Validation
Allow: Custom
Formula: =COUNTIF($A$1:$A$250,A1)<2
Click OK

Test it out ..
 
Max

i've tried this but its not working. i can enter the same numeric figure in
more than one cell say employee ID 1 can ve entered in all the cell and the
value are accepted. Can you suggest any other way

Regards
 
Max

got the answer from Jim Thomlinson response in a seperate thread
Correct Formula: =COUNTIF($A$1:$A$250,A1)=1
 
Rajat,
.. from Jim Thomlinson response
Correct Formula: =COUNTIF($A$1:$A$250,A1)=1

Jim's suggestion above works identical to mine for your post:
Formula: =COUNTIF($A$1:$A$250,A1)<2

Guess I'm puzzled why it didn't work for you earlier <g>

---
 

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