Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Creating Drop-down menus with subset drop-down menus

I'm creating an excel sheet with drop-down menus using validations. I'd like
to create a second row that looks up a list of equipment types from the first
row's selection. i.e. column 1 = pumps, electrical, vessels.
column 2 = types of pumps,
or types of electrical
or types of vessels.
Is there a way to do this with formulas
or if not how do I do it with code?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Creating Drop-down menus with subset drop-down menus

Debra Dalgleish's web site has exactly what you're looking for.

It's called a "Dependent List":

http://www.contextures.com/xlDataVal02.html

http://www.contextures.com/xlDataVal15.html

http://www.contextures.com/xlDataVal13.html
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Benjamin" wrote in message
...
I'm creating an excel sheet with drop-down menus using validations. I'd
like
to create a second row that looks up a list of equipment types from the
first
row's selection. i.e. column 1 = pumps, electrical, vessels.
column 2 = types of pumps,
or types of electrical
or types of vessels.
Is there a way to do this with formulas
or if not how do I do it with code?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Creating Drop-down menus with subset drop-down menus

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.

Cheers,
Shane Devenshire


"Benjamin" wrote:

I'm creating an excel sheet with drop-down menus using validations. I'd like
to create a second row that looks up a list of equipment types from the first
row's selection. i.e. column 1 = pumps, electrical, vessels.
column 2 = types of pumps,
or types of electrical
or types of vessels.
Is there a way to do this with formulas
or if not how do I do it with code?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Creating Drop-down menus with subset drop-down menus

I need to do this for 300-2000+ fields. Each with the same Parent Categories
and Child Categories?
Will I be able to copy and paste or fill the fields?

"RagDyer" wrote:

Debra Dalgleish's web site has exactly what you're looking for.

It's called a "Dependent List":

http://www.contextures.com/xlDataVal02.html

http://www.contextures.com/xlDataVal15.html

http://www.contextures.com/xlDataVal13.html
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Benjamin" wrote in message
...
I'm creating an excel sheet with drop-down menus using validations. I'd
like
to create a second row that looks up a list of equipment types from the
first
row's selection. i.e. column 1 = pumps, electrical, vessels.
column 2 = types of pumps,
or types of electrical
or types of vessels.
Is there a way to do this with formulas
or if not how do I do it with code?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Creating Drop-down menus with subset drop-down menus

I need to do this for about 2000+ entries....
Can I copy and paste the formula down the column?
opening the validation box isn't practical for this many.

"Shane Devenshire" wrote:

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.

Cheers,
Shane Devenshire


"Benjamin" wrote:

I'm creating an excel sheet with drop-down menus using validations. I'd like
to create a second row that looks up a list of equipment types from the first
row's selection. i.e. column 1 = pumps, electrical, vessels.
column 2 = types of pumps,
or types of electrical
or types of vessels.
Is there a way to do this with formulas
or if not how do I do it with code?

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
Drop Down Menus Alison Mason Excel Discussion (Misc queries) 1 April 6th 09 10:46 AM
creating drop down menus gsohacki Excel Discussion (Misc queries) 1 October 11th 08 06:49 AM
Creating Buttons to navigate and drop down menus ryan_dude New Users to Excel 7 December 22nd 05 11:51 AM
drop down menus jagermeist1 Excel Discussion (Misc queries) 4 December 16th 05 03:25 PM
Creating Drop down menus in an excel cell Debbie C Excel Worksheet Functions 2 April 1st 05 01:04 AM


All times are GMT +1. The time now is 05:49 AM.

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

About Us

"It's about Microsoft Excel"