PC Review


Reply
Thread Tools Rate Thread

Data validation based on another cell

 
 
Z
Guest
Posts: n/a
 
      6th Dec 2006
Im not quite sure what to put in the title, but heres my problem:

I want prevent people from inputing into a cell if other cells have
been filled in.
A1 has no value
B1 has no value
C1 has X
D1 then cannot have a value because A1:C1 has an X in one of the other
three cells

:: but if you make C1 have no value then D1 would be able to input an X
into that cell, however
then the other cells you would not be able to.

Im assuming you would use data validation, things ive tried is custom
data validation with formulas
such as COUNTA(A1:C1)>2, also tried IFTEXT(A1... i tried a few forumlas
which either did nothing, or didnt allow me to do anything.

Anyone have any idea?
Thanks!
Michael

 
Reply With Quote
 
 
 
 
Arvi Laanemets
Guest
Posts: n/a
 
      6th Dec 2006
Hi

Select A
Enter validation formula:
=COUNTA($A1:$D1)<2
OK


Arvi Laanemets


"Z" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Im not quite sure what to put in the title, but heres my problem:
>
> I want prevent people from inputing into a cell if other cells have
> been filled in.
> A1 has no value
> B1 has no value
> C1 has X
> D1 then cannot have a value because A1:C1 has an X in one of the other
> three cells
>
> :: but if you make C1 have no value then D1 would be able to input an X
> into that cell, however
> then the other cells you would not be able to.
>
> Im assuming you would use data validation, things ive tried is custom
> data validation with formulas
> such as COUNTA(A1:C1)>2, also tried IFTEXT(A1... i tried a few forumlas
> which either did nothing, or didnt allow me to do anything.
>
> Anyone have any idea?
> Thanks!
> Michael
>



 
Reply With Quote
 
Z
Guest
Posts: n/a
 
      6th Dec 2006
Works like a charm! thanks!

On Dec 6, 9:21 am, "Arvi Laanemets" <arvilaanem...@hot.ee> wrote:
> Hi
>
> Select A
> Enter validation formula:
> =COUNTA($A1:$D1)<2
> OK
>
> Arvi Laanemets
>
> "Z" <arthursdom...@gmail.com> wrote in messagenews:(E-Mail Removed)...
>
> > Im not quite sure what to put in the title, but heres my problem:

>
> > I want prevent people from inputing into a cell if other cells have
> > been filled in.
> > A1 has no value
> > B1 has no value
> > C1 has X
> > D1 then cannot have a value because A1:C1 has an X in one of the other
> > three cells

>
> > :: but if you make C1 have no value then D1 would be able to input an X
> > into that cell, however
> > then the other cells you would not be able to.

>
> > Im assuming you would use data validation, things ive tried is custom
> > data validation with formulas
> > such as COUNTA(A1:C1)>2, also tried IFTEXT(A1... i tried a few forumlas
> > which either did nothing, or didnt allow me to do anything.

>
> > Anyone have any idea?
> > Thanks!
> > Michael


 
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
Turning on data validation in one cell based on the contents ofanother cell chris.thompson13@ntlworld.com Microsoft Excel Discussion 1 17th Mar 2011 12:19 PM
Data Validation based on Cell Value Michael Hudston Microsoft Excel Programming 4 4th Jun 2010 05:01 PM
data validation based on cell value jpzachar Microsoft Excel Programming 2 10th Nov 2008 09:56 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
can I do data validation based on contents of cell? Danny Microsoft Excel Misc 3 27th Jul 2004 12:49 PM


Features
 

Advertising
 

Newsgroups
 


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