Need help w/ excel formula (duplicate entry)

  • Thread starter Thread starter cl6120
  • Start date Start date
C

cl6120

Hello,

I am not sure if this is possible but I would like
write a formula that would recognize a duplicate entry
under same column.

e.g., column A has heading of Sample ID# and
under is sample ID# in random order. If an entry
of ID is then made but if it is a repeat of the ID that was
previously entered, I would like to it to give some kind
of warning message.

Thank you.
 
Use Data Validation. Go to Data->Validation, under Alow select custom, and
enter folowing formula:

=COUNTIF(A:A;A1)=1

Under Error Mesage create text you want to be displayed to user when he try
to enter ID# already in use.
 

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