PC Review


Reply
Thread Tools Rate Thread

Data validation dependent on value in another cell.

 
 
=?Utf-8?B?R3ViYXdhdHRz?=
Guest
Posts: n/a
 
      2nd Apr 2007
I would like to limit the input into a cell (y or n), based on the value in
the cell above it, (also y or n). So if one cell contains "y", then the user
cannot input "y" into the other cell. I'm familiar with data validation,
just not sure of the proper syntax to use.

Thanks.
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      2nd Apr 2007
Assuming the cells are F1 and F2, and you are setting up F2, use DV with a
Custom type and a formula of

=AND(OR(F2="Y",F2="N"),F2<>F1)

--
HTH

Bob

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

"Gubawatts" <(E-Mail Removed)> wrote in message
news:BB1EC60F-B7C7-4BFD-BA8E-(E-Mail Removed)...
>I would like to limit the input into a cell (y or n), based on the value in
> the cell above it, (also y or n). So if one cell contains "y", then the
> user
> cannot input "y" into the other cell. I'm familiar with data validation,
> just not sure of the proper syntax to use.
>
> Thanks.



 
Reply With Quote
 
=?Utf-8?B?R3ViYXdhdHRz?=
Guest
Posts: n/a
 
      2nd Apr 2007
Thanks Bob.

"Bob Phillips" wrote:

> Assuming the cells are F1 and F2, and you are setting up F2, use DV with a
> Custom type and a formula of
>
> =AND(OR(F2="Y",F2="N"),F2<>F1)
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "Gubawatts" <(E-Mail Removed)> wrote in message
> news:BB1EC60F-B7C7-4BFD-BA8E-(E-Mail Removed)...
> >I would like to limit the input into a cell (y or n), based on the value in
> > the cell above it, (also y or n). So if one cell contains "y", then the
> > user
> > cannot input "y" into the other cell. I'm familiar with data validation,
> > just not sure of the proper syntax to use.
> >
> > 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
In-cell dropdown dependent on cell value (Data Validation) RandomStu Microsoft Excel Discussion 1 19th Oct 2009 07:44 PM
how blank data validation cell after changing dependent cell? Ian Elliott Microsoft Excel Misc 5 16th Aug 2009 02:42 AM
Dependent Data Validation Shacks Microsoft Excel Misc 3 12th Aug 2009 06:58 PM
Cell Changes with Dependent Validation bruleto Microsoft Excel Discussion 3 26th Mar 2009 02:43 PM
Data Validation list dependent on contents of another cell Scorer150 Microsoft Excel Misc 2 7th Feb 2008 12:13 AM


Features
 

Advertising
 

Newsgroups
 


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