Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default I want to be prompted for an entry that already exists in excel

I use Excel to maintain an animal breeding program. I want to be prompted
when a animal number is entered that already exists. This would be handy for
name and address databases too.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prompted data entry Jill Excel Discussion (Misc queries) 0 January 13th 10 08:59 PM
how to sum a column only when an entry exists in a different colum Labby Excel Discussion (Misc queries) 7 October 28th 09 12:44 AM
how do I update links without being prompted in Excel? katie.donovan Excel Discussion (Misc queries) 1 October 6th 05 05:29 PM
Exiting Excel without being prompted John Flynn Excel Programming 0 August 23rd 03 02:35 AM
Exiting Excel without being prompted JohnFlynn Excel Programming 0 August 23rd 03 01:49 AM


All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"