How do I prevent duplicate numbers from being entered in a column.

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

Guest

I am trying to set a check register example and want to prevent the user from
entering the same check number twice. Is this possible in Excel?
 
Select the column, assuming D1 is the active cell, for example, do this:
Use Data/Validation, select Custom from the first dropdown, enter this in
the Formula:
=Countif(D:D,D1)=1
then set the appropriate error alert in the error alert tab.

Bob Umlas
Excel MVP
 

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