Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 577
Default Data Validation - Conditional List

I have two drop down windows and I want the list of values available in drop
down two to be dependent on the selection from the first drop down.

Example:
Drop down #1 - Department
1. Accounting
2. HR
3. Marketing

Drop down #2 - Projects to Charge
1. Accounting can charge projects: 1,2,3
2. HR can charge projects: 2, 3, 4, and 5
3. Marketing can charge projects: 6, 7, and 8

How can I populate my list for the second drop down based on the selection
from the first drop down? For example, if someone selects HR for the 1st drop
down, how do I make my 2nd drop down list to show projects 2, 3, 4, and 5.

Thanks,
Scott


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Data Validation - Conditional List

Are these data validation dropdowns?

"Scott" wrote:

I have two drop down windows and I want the list of values available in drop
down two to be dependent on the selection from the first drop down.

Example:
Drop down #1 - Department
1. Accounting
2. HR
3. Marketing

Drop down #2 - Projects to Charge
1. Accounting can charge projects: 1,2,3
2. HR can charge projects: 2, 3, 4, and 5
3. Marketing can charge projects: 6, 7, and 8

How can I populate my list for the second drop down based on the selection
from the first drop down? For example, if someone selects HR for the 1st drop
down, how do I make my 2nd drop down list to show projects 2, 3, 4, and 5.

Thanks,
Scott


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Data Validation - Conditional List


I'd strongly suggest you to have a visit below address.
( Category D : Data validation )

http://www.contextures.com/tiptech.html
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Data Validation - Conditional List

Scott,

Suppose your first validation cell (for Department) is cell B5. In
some region of the worksheet, create a table like the following:

Accounting one two three
Human Res two three four five
Marketing six seven eight

In this example, we'll assume that this group of cells is in G22:K24.

Select B5, open Data Validation, choose List from the Allow list and
enter

=$G$22:$G$24

as the Source for the list. This limits the user's selection to
Accounting, Human Res, and Marketing.

Suppose that the next validation cell, from which the project is to be
selected, is cell B6. Select cell B6 and open Data Validation. Choose
List from the Allow list and enter

=OFFSET($G$22,MATCH($B$5,$G$22:$G$24,0)-1,1,1,COUNTA(G22:Z22))

as the Source for the list.

With these validation rules in effect, the B5 dropdown will display
the three departments, and the projects allowed for that department
will be displayed in the B6 dropdown. The content of the list for B6
changes depending upon what it selected in B5.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]





On Mon, 10 May 2010 12:37:01 -0700, Scott
wrote:

I have two drop down windows and I want the list of values available in drop
down two to be dependent on the selection from the first drop down.

Example:
Drop down #1 - Department
1. Accounting
2. HR
3. Marketing

Drop down #2 - Projects to Charge
1. Accounting can charge projects: 1,2,3
2. HR can charge projects: 2, 3, 4, and 5
3. Marketing can charge projects: 6, 7, and 8

How can I populate my list for the second drop down based on the selection
from the first drop down? For example, if someone selects HR for the 1st drop
down, how do I make my 2nd drop down list to show projects 2, 3, 4, and 5.

Thanks,
Scott

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I link a conditional list in MS Excel Data validation? Mig Excel Discussion (Misc queries) 2 March 6th 08 11:57 AM
data validation list: how do i 'force' a user to enter data from the list? showsomeidnow Excel Discussion (Misc queries) 4 May 1st 07 05:49 PM
data validation list: how do i 'force' a user to enter data from the list? showsomeidnow Excel Discussion (Misc queries) 2 April 29th 07 11:09 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM


All times are GMT +1. The time now is 06:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"