PC Review


Reply
Thread Tools Rate Thread

Data Validation: Prevent Cell Input If Condition Exists

 
 
Zack S.
Guest
Posts: n/a
 
      23rd Feb 2007
Hello: I have an Excel model where there are two columns, A & B. I
need a validation rule that prevents entries into the B column if a
condition in A is present.

For example in cell B1 I would have the data validation rule formula
be:
=IF(A1="Ford",[PreventEntry],[AllowAnyEntry])

1) Any ideas on how I could accomplish this validation using Excel's
Validation tool?

2) Any ideas using VBA?

Thanks!

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Feb 2007
DV with a formula of

=NOT(ISNUMBER(MATCH("Ford",A:A,0)))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Zack S." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello: I have an Excel model where there are two columns, A & B. I
> need a validation rule that prevents entries into the B column if a
> condition in A is present.
>
> For example in cell B1 I would have the data validation rule formula
> be:
> =IF(A1="Ford",[PreventEntry],[AllowAnyEntry])
>
> 1) Any ideas on how I could accomplish this validation using Excel's
> Validation tool?
>
> 2) Any ideas using VBA?
>
> Thanks!
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent cell value to change after data input? lukus2005@gmail.com Microsoft Excel Discussion 5 8th Jan 2009 09:30 PM
Data validation - prevent cell overwrite =?Utf-8?B?RGF2aWQ=?= Microsoft Excel Programming 3 19th Mar 2007 02:10 PM
data validation to restrict input in cell based on value of cell above that cell NC Microsoft Excel Programming 2 25th Jan 2005 07:11 AM
Requiring Input If A Condition Exists =?Utf-8?B?U0NX?= Microsoft Access Database Table Design 1 4th Jan 2005 06:15 PM
Data Validation to prevent a blank cell Bob Microsoft Excel Discussion 3 30th Apr 2004 10:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 AM.