View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Select a list in 1 cell by selecting an item from another list in

Hi,

Here are the steps for creating a dynamic data validation list:

1. Create three or more list in the spreadsheet. For example:
A B C
New York Quebec Canada
Seattle Toronto US
Miami Victoria

You would name lists: US (A1:A3), Canada (B1:B3), Countries (C1:C2) this
last is optional

2. Select the cell where you want the initial validation list, for this
example, D1
3. Choose Data, Validation
4. From the Allow drop-down and choose List
5. In the Source box enter the following formula
=Countries
6. Move to the location where you want the dynamic (changing) list to
appear, say for example E1
7. Choose Data, Validation, List and in the Source box enter the formula
=INDIRECT(D1)

If this helps, please click the Yes button.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Jonners" wrote:

I want to create a formula that allows me to select a list in one cell having
selected an item from another list.

An example of what I mean. If I have an expense account and have Expense
types and Expense Sub-Types.

I want to select an Expense Type in one cell from a given list and then in
the next cell I am presented with a list associated with that specific
Expense Type (Sub-Expense Types). I.e.Expense Types in list 1 might be:
a.Entertaining
b.Travel and
c.Communication, etc.

Sub Expense Types might be for
a. Customer Entertaining & Staff Entertainingfor
b. Train, Car, Boat, bus and for
c. Land Line, Broadband, Fax Line, Mobile, etc.

So by selecting Communication in cell 1 (from list 1: Expense Type), I am
presented in cell 2 with the associated Sub-Expense list; Land Line,
Broadband, Fax Line, Mobile.