Data Validation

A

Amy

I am using the formula:

=COUNTIF($A$1:$A$2000,A1)=1

for my data validation to prevent users from entering the
same value twice in a certain column.

The only problem is - it doesn't work if you type the same
thing into a blank cell - only the cells that already
contain data.

Any suggestions on how to fix this? Any help would be
very appreciated!!
 
P

Peo Sjoblom

Select A1:A2000 with A1 as the active cell,do the validation and use

=COUNTIF($A$1:A1,A1)<=1
 

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

Top