Data Validation - List - Data "NOT BETWEEN" - Source Possible?

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

Guest

Setting up electronic log sheet where serial numbers are entered. Trying to
use VALIDATION to check previous entry's for duplicates. If "Data" was able
to be change to "Not Between" that would be great, but this window is greyed
out in Data Validation. Is there another way?
 
Duke2U said:
Setting up electronic log sheet where serial numbers are entered. Trying to
use VALIDATION to check previous entry's for duplicates. If "Data" was able
to be change to "Not Between" that would be great, but this window is greyed
out in Data Validation. Is there another way?

Try this ..

Select the data input range, say A2:A20 (with A2 active)
Then click Data > Validation > Custom
Formula:
=AND(COUNTIF($A$2:A2,A2)<2,A2>=1000,A2<=2000)
Click OK

The formula will disallow duplicate entries down the range, and also ensures
that only numbers between 1000 to 2000 [inclusive] are permitted (as an
example)

Test it out and adapt to suit ..

---
 

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