PC Review


Reply
Thread Tools Rate Thread

2 criteria cells used to select which validation list to use

 
 
=?Utf-8?B?QkVFSkFZ?=
Guest
Posts: n/a
 
      21st Dec 2005
Greetings All:
(Excel 2003)
I'm trying to "clean up" various workbooks and consolidate into one workbook
(probably about 75 sheets, when done). I have come to the conclusion that,
for clarity of my formulas, I should have used range names.
I have the Name Manager, version 3.2 from Jan Karel, which hopefully will
prove to be more than a little useful.

My current problem relates to the use of validation, based on info
from two cells, (either/or), and requiring a result of 1 of 2 validation
lists.
I hope the following is clear.

Cell C3: Truck Cell D3 = 0 (not applicable) or 1 (applicable)
Cell C4: Trailer Cell D4 = is opposite of above.
ie: if D3 = 1, then D4 = 0 and vice-versa

Cell C5: Length Cell D5: Actual length, to be selected from 1 of 2
possible lists

If D3 = 1, then the drop down list to have specific list of lengths
possible for a Truck, as listed in Range Name "TruckLengths"

If D4 = 1, then the drop down list is to reflect the list of lengths possible
for trailers, as listed in Range Name "TrailerLengths"

I need the references in D3 and D4, for many formulas, so I hope I
don't have to change my layout - although I will, if neccessary.
The correct validation list is to prevent the salesman from ordering,
for example, a 48 foot Truck, etc............

I hope there is a solution to my situation.
Thanks in advance for any response (preferably a helpful one)

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      21st Dec 2005
Try this formula in the List Allow type in DV


=IF(D3=1,TruckLengths,IF(D4=1,TRailerLengths))


you might want another optione if neither are 1


--

HTH


RP
(remove nothere from the email address if mailing direct)


"BEEJAY" <(E-Mail Removed)> wrote in message
news:B8355B43-F503-42E7-B7BC-(E-Mail Removed)...
> Greetings All:
> (Excel 2003)
> I'm trying to "clean up" various workbooks and consolidate into one

workbook
> (probably about 75 sheets, when done). I have come to the conclusion that,
> for clarity of my formulas, I should have used range names.
> I have the Name Manager, version 3.2 from Jan Karel, which hopefully will
> prove to be more than a little useful.
>
> My current problem relates to the use of validation, based on info
> from two cells, (either/or), and requiring a result of 1 of 2 validation
> lists.
> I hope the following is clear.
>
> Cell C3: Truck Cell D3 = 0 (not applicable) or 1 (applicable)
> Cell C4: Trailer Cell D4 = is opposite of above.
> ie: if D3 = 1, then D4 = 0 and vice-versa
>
> Cell C5: Length Cell D5: Actual length, to be selected from 1 of 2
> possible lists
>
> If D3 = 1, then the drop down list to have specific list of lengths
> possible for a Truck, as listed in Range Name "TruckLengths"
>
> If D4 = 1, then the drop down list is to reflect the list of lengths

possible
> for trailers, as listed in Range Name "TrailerLengths"
>
> I need the references in D3 and D4, for many formulas, so I hope I
> don't have to change my layout - although I will, if neccessary.
> The correct validation list is to prevent the salesman from ordering,
> for example, a 48 foot Truck, etc............
>
> I hope there is a solution to my situation.
> Thanks in advance for any response (preferably a helpful one)
>



 
Reply With Quote
 
=?Utf-8?B?QkVFSkFZ?=
Guest
Posts: n/a
 
      23rd Dec 2005
Works Great!!
Can you explain why the "false" portion of the IF statement
is not required, in this case?


"Bob Phillips" wrote:

> Try this formula in the List Allow type in DV
>
>
> =IF(D3=1,TruckLengths,IF(D4=1,TRailerLengths))
>
>
> you might want another optione if neither are 1
>
>
> --
>
> HTH
>
>
> RP
> (remove nothere from the email address if mailing direct)
>
>
> "BEEJAY" <(E-Mail Removed)> wrote in message
> news:B8355B43-F503-42E7-B7BC-(E-Mail Removed)...
> > Greetings All:
> > (Excel 2003)
> > I'm trying to "clean up" various workbooks and consolidate into one

> workbook
> > (probably about 75 sheets, when done). I have come to the conclusion that,
> > for clarity of my formulas, I should have used range names.
> > I have the Name Manager, version 3.2 from Jan Karel, which hopefully will
> > prove to be more than a little useful.
> >
> > My current problem relates to the use of validation, based on info
> > from two cells, (either/or), and requiring a result of 1 of 2 validation
> > lists.
> > I hope the following is clear.
> >
> > Cell C3: Truck Cell D3 = 0 (not applicable) or 1 (applicable)
> > Cell C4: Trailer Cell D4 = is opposite of above.
> > ie: if D3 = 1, then D4 = 0 and vice-versa
> >
> > Cell C5: Length Cell D5: Actual length, to be selected from 1 of 2
> > possible lists
> >
> > If D3 = 1, then the drop down list to have specific list of lengths
> > possible for a Truck, as listed in Range Name "TruckLengths"
> >
> > If D4 = 1, then the drop down list is to reflect the list of lengths

> possible
> > for trailers, as listed in Range Name "TrailerLengths"
> >
> > I need the references in D3 and D4, for many formulas, so I hope I
> > don't have to change my layout - although I will, if neccessary.
> > The correct validation list is to prevent the salesman from ordering,
> > for example, a 48 foot Truck, etc............
> >
> > I hope there is a solution to my situation.
> > Thanks in advance for any response (preferably a helpful one)
> >

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Dec 2005
That is because we are using the List type, and the final False would return
a False which just doesn't equate to list.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"BEEJAY" <(E-Mail Removed)> wrote in message
news:FEBF8D76-179A-4C51-A4B9-(E-Mail Removed)...
> Works Great!!
> Can you explain why the "false" portion of the IF statement
> is not required, in this case?
>
>
> "Bob Phillips" wrote:
>
> > Try this formula in the List Allow type in DV
> >
> >
> > =IF(D3=1,TruckLengths,IF(D4=1,TRailerLengths))
> >
> >
> > you might want another optione if neither are 1
> >
> >
> > --
> >
> > HTH
> >
> >
> > RP
> > (remove nothere from the email address if mailing direct)
> >
> >
> > "BEEJAY" <(E-Mail Removed)> wrote in message
> > news:B8355B43-F503-42E7-B7BC-(E-Mail Removed)...
> > > Greetings All:
> > > (Excel 2003)
> > > I'm trying to "clean up" various workbooks and consolidate into one

> > workbook
> > > (probably about 75 sheets, when done). I have come to the conclusion

that,
> > > for clarity of my formulas, I should have used range names.
> > > I have the Name Manager, version 3.2 from Jan Karel, which hopefully

will
> > > prove to be more than a little useful.
> > >
> > > My current problem relates to the use of validation, based on info
> > > from two cells, (either/or), and requiring a result of 1 of 2

validation
> > > lists.
> > > I hope the following is clear.
> > >
> > > Cell C3: Truck Cell D3 = 0 (not applicable) or 1 (applicable)
> > > Cell C4: Trailer Cell D4 = is opposite of above.
> > > ie: if D3 = 1, then D4 = 0 and vice-versa
> > >
> > > Cell C5: Length Cell D5: Actual length, to be selected from 1 of

2
> > > possible lists
> > >
> > > If D3 = 1, then the drop down list to have specific list of lengths
> > > possible for a Truck, as listed in Range Name "TruckLengths"
> > >
> > > If D4 = 1, then the drop down list is to reflect the list of lengths

> > possible
> > > for trailers, as listed in Range Name "TrailerLengths"
> > >
> > > I need the references in D3 and D4, for many formulas, so I hope I
> > > don't have to change my layout - although I will, if neccessary.
> > > The correct validation list is to prevent the salesman from ordering,
> > > for example, a 48 foot Truck, etc............
> > >
> > > I hope there is a solution to my situation.
> > > Thanks in advance for any response (preferably a helpful one)
> > >

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?QkVFSkFZ?=
Guest
Posts: n/a
 
      2nd Jan 2006
Thanks for the response.
I'm sure I'll run into other examples which will help
reinforce this idea.

"When is an if statement not a (normal) if statement"?
"When it is a list statement"
Cool!!
Kinda like: When is a door not a door? When it is ajar.
"Things are often not as they first appear"
Thanks again. Till next time.

"Bob Phillips" wrote:

> That is because we are using the List type, and the final False would return
> a False which just doesn't equate to list.
>
> --
>
> HTH
>
> RP
> (remove nothere from the email address if mailing direct)
>
>
> "BEEJAY" <(E-Mail Removed)> wrote in message
> news:FEBF8D76-179A-4C51-A4B9-(E-Mail Removed)...
> > Works Great!!
> > Can you explain why the "false" portion of the IF statement
> > is not required, in this case?
> >
> >
> > "Bob Phillips" wrote:
> >
> > > Try this formula in the List Allow type in DV
> > >
> > >
> > > =IF(D3=1,TruckLengths,IF(D4=1,TRailerLengths))
> > >
> > >
> > > you might want another optione if neither are 1
> > >
> > >
> > > --
> > >
> > > HTH
> > >
> > >
> > > RP
> > > (remove nothere from the email address if mailing direct)
> > >
> > >
> > > "BEEJAY" <(E-Mail Removed)> wrote in message
> > > news:B8355B43-F503-42E7-B7BC-(E-Mail Removed)...
> > > > Greetings All:
> > > > (Excel 2003)
> > > > I'm trying to "clean up" various workbooks and consolidate into one
> > > workbook
> > > > (probably about 75 sheets, when done). I have come to the conclusion

> that,
> > > > for clarity of my formulas, I should have used range names.
> > > > I have the Name Manager, version 3.2 from Jan Karel, which hopefully

> will
> > > > prove to be more than a little useful.
> > > >
> > > > My current problem relates to the use of validation, based on info
> > > > from two cells, (either/or), and requiring a result of 1 of 2

> validation
> > > > lists.
> > > > I hope the following is clear.
> > > >
> > > > Cell C3: Truck Cell D3 = 0 (not applicable) or 1 (applicable)
> > > > Cell C4: Trailer Cell D4 = is opposite of above.
> > > > ie: if D3 = 1, then D4 = 0 and vice-versa
> > > >
> > > > Cell C5: Length Cell D5: Actual length, to be selected from 1 of

> 2
> > > > possible lists
> > > >
> > > > If D3 = 1, then the drop down list to have specific list of lengths
> > > > possible for a Truck, as listed in Range Name "TruckLengths"
> > > >
> > > > If D4 = 1, then the drop down list is to reflect the list of lengths
> > > possible
> > > > for trailers, as listed in Range Name "TrailerLengths"
> > > >
> > > > I need the references in D3 and D4, for many formulas, so I hope I
> > > > don't have to change my layout - although I will, if neccessary.
> > > > The correct validation list is to prevent the salesman from ordering,
> > > > for example, a 48 foot Truck, etc............
> > > >
> > > > I hope there is a solution to my situation.
> > > > Thanks in advance for any response (preferably a helpful one)
> > > >
> > >
> > >
> > >

>
>
>

 
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 do I get a Data validation list to select another validation l langston35 Microsoft Excel New Users 1 28th Sep 2009 08:38 AM
Sort Excell cells that have each their own Validation criteria geniet Microsoft Excel Worksheet Functions 1 25th Jul 2009 09:23 PM
Validation Criteria & Ignore Blank (cells at bottom) mjones Microsoft Excel Discussion 3 11th May 2008 05:48 AM
DATA VALIDATION LIST- CAN I SELECT FROM LIST WITHOUT SCROLLING Bellyjean Microsoft Excel Worksheet Functions 1 7th Mar 2008 09:46 PM
data validation list should have opt. to select based on criteria =?Utf-8?B?YmU=?= Microsoft Excel Worksheet Functions 1 15th Sep 2005 01:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.