How do I prevent entering duplicate numbers in an excel worksheet

G

Guest

I have a lot of bill laden numbers I need to keep track of in an excel
worksheet for accounts payable and I want to prevent entering duplicate
numbers. Is there a way I can have excel tell me when I have keyed a
duplicate number?

Thanks for any help.
 
G

Guest

You can use validation to do this... Select Data -> Validation -> Custom and
insert the following formula (Select all of column A with Cell A1 as the
active cell)

=COUNTIF(A:A, 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