Advertisement

12.17.2007 at 07:44AM PST, ID: 23028097
[x]
Attachment Details

Excel - If Statements and List Data Validation

Asked by flickimp in Microsoft Excel Spreadsheet Software, Spreadsheet Software

Tags: excel, statements, data, validation

Hi

The user must select from a data vbalidation list in Cell F4.

What they choose then determines the next data validation list.

The IF statement I am using is:
=IF(F4="Uni Hospital of Leicester","B17",IF(F4="Community Hospitals","B19:B20",IF(F4="Main Out of County","B22:B38",IF(F4="Other Out of County","B41:B245",0))))

Thus, if F4 = "Other Out of County" then the user will see the list that contains values from B41 to B245.

How do I enable this in a Data validation list?Start Free Trial
1:
=IF(F4="Uni Hospital of Leicester","B17",IF(F4="Community Hospitals","B19:B20",IF(F4="Main Out of County","B22:B38",IF(F4="Other Out of County","B41:B245",0))))
[+][-]12.17.2007 at 08:04AM PST, ID: 20485683

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.17.2007 at 09:10AM PST, ID: 20486177

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.17.2007 at 12:15PM PST, ID: 20487457

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.17.2007 at 12:44PM PST, ID: 20487655

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Excel Spreadsheet Software, Spreadsheet Software
Tags: excel, statements, data, validation
Sign Up Now!
Solution Provided By: jeverist
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628