need an error msge when I attempt to enter a duplicate value in a

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

Guest

I am entering unique serial no. in col A. Can I set up a rule which will not
allow a duplicate serial no. entry into another cell?
 
Check out the validation in the Data section.
select the area of interest (A:A)
<data><validation><Settings><Custom>
enter =countif(A:A,A1)=1

Set the error alert as you want it
 
If you put a Custom Data Validation as follows:-

=IF(MATCH(A1,A:A,0)<>ROW(A1),FALSE,TRUE)

This assumes that you are putting the serial number in column A, adjus
accordingly if this is not the cas
 

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


Back
Top