PC Review


Reply
Thread Tools Rate Thread

Data Validation - lists if certain column is certain value

 
 
=?Utf-8?B?R2Vvcmdl?=
Guest
Posts: n/a
 
      21st Oct 2007
Hi,

I've got a simple register/task allocation spreadsheet and I want Data
Validation on the "task" cell to operate in the following manner:

If "present" cell is "NO" then only allow certain values (Sick, AWOL, etc)
If "present" cell is "YES" then allow any value

Any ideas? I've played around with custom functions to try and achieve this
without any luck :-(

George
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      21st Oct 2007
Insert Name Define

Name: List1
Refersto: =IF(Sheet1!$A$1="NO",Sheet1!$J$1:$J$3,Sheet1!$I$1)

where I1 is truly blank and J1:J3 contains the choices for an abscence.

then in data validation after selecting the list option, in the textbox put

=List1

--
Regards,
Tom Ogilvy


"George" wrote:

> Hi,
>
> I've got a simple register/task allocation spreadsheet and I want Data
> Validation on the "task" cell to operate in the following manner:
>
> If "present" cell is "NO" then only allow certain values (Sick, AWOL, etc)
> If "present" cell is "YES" then allow any value
>
> Any ideas? I've played around with custom functions to try and achieve this
> without any luck :-(
>
> George

 
Reply With Quote
 
=?Utf-8?B?R2Vvcmdl?=
Guest
Posts: n/a
 
      22nd Oct 2007
Thanks Tom - I haven't tried this out although I can see the reasoning behind
this and reckon it would work a treat.

What happens if I have multiple tabs with the "present" column on them? In
the List1 definition I can see "Sheet1" - what do I need to change if I want
to be able to apply this list to multiple sheets (the present column is in
the same place on each of these sheets)...

George

"Tom Ogilvy" wrote:

> Insert Name Define
>
> Name: List1
> Refersto: =IF(Sheet1!$A$1="NO",Sheet1!$J$1:$J$3,Sheet1!$I$1)
>
> where I1 is truly blank and J1:J3 contains the choices for an abscence.
>
> then in data validation after selecting the list option, in the textbox put
>
> =List1
>
> --
> Regards,
> Tom Ogilvy
>
>
> "George" wrote:
>
> > Hi,
> >
> > I've got a simple register/task allocation spreadsheet and I want Data
> > Validation on the "task" cell to operate in the following manner:
> >
> > If "present" cell is "NO" then only allow certain values (Sick, AWOL, etc)
> > If "present" cell is "YES" then allow any value
> >
> > Any ideas? I've played around with custom functions to try and achieve this
> > without any luck :-(
> >
> > George

 
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
Data Validation - Using 2 Lists =?Utf-8?B?c2NvdHQ1Nmhhbm5haA==?= Microsoft Excel Misc 1 18th Oct 2006 12:49 PM
Data validation with validation lists and combo boxs =?Utf-8?B?S2VpdGg=?= Microsoft Excel Misc 1 12th Oct 2006 11:08 AM
When pasting data into a column with data validation I lose validation check Brad Microsoft Excel Misc 5 17th Apr 2004 01:11 PM
Data Validation Lists =?Utf-8?B?Sm9zZXBo?= Microsoft Excel Worksheet Functions 4 9th Feb 2004 11:54 AM
Data Validation Lists Joseph Microsoft Excel Worksheet Functions 1 16th Dec 2003 06:29 PM


Features
 

Advertising
 

Newsgroups
 


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