View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jan Karel Pieterse Jan Karel Pieterse is offline
external usenet poster
 
Posts: 535
Default I want to be prompted for an entry that already exists in excel

Hi Jade,

I want to be prompted
when a animal number is entered that already exists.


Use Data, validation for this.

- select the range that will get the numbers (lets say the entire
Column A)
- Choose Data, validation
- Click the dropdown box and select "Custom"
- enter this formula:
=COUNTIF(A1:$A$1,A1)<2

(notice the dollar signs!)

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com