A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Data Validation - Conditional List



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2010, 08:37 PM posted to microsoft.public.excel.worksheet.functions
Scott
external usenet poster
 
Posts: 1,119
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  
Old May 10th, 2010, 08:59 PM posted to microsoft.public.excel.worksheet.functions
Yegod
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  
Old May 10th, 2010, 09:51 PM posted to microsoft.public.excel.worksheet.functions
darkblue
external usenet poster
 
Posts: 7
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  
Old May 10th, 2010, 10:03 PM posted to microsoft.public.excel.worksheet.functions
Chip Pearson
external usenet poster
 
Posts: 1,343
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:33 PM.


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