Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
GILBERT
 
Posts: n/a
Default How do I create 3 list boxes dependent on prior selections

I have 3 list boxs that I would want to create first list drop down = STATES
(I.E. NJ,TX,CA....) the 2nd list drop down= code1(I.E.SET,SCB,PAY...)
depending on what was selected in the state drop-down and third dropdown =
code2 (I.E.W1,W2,W4..)DEPENDING ON 2nd list box...I have seen some examples
that has 2 list boxes.I need to know how to do three...Thanks In Advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
Eddie O
 
Posts: n/a
Default How do I create 3 list boxes dependent on prior selections

For the first list box, the range which the box refers to to get it's
contents would contain static values-- easy for that one. But for the second
and third list boxes, the range which the box refers to would contain
formulas which would pull the contents from arrays elsewhere in the sheet,
based on the selection made in the prior box.

So pseudocode for the formula in the dynamic range would be: "If result of
list box #1 = 1, pull contents from array 1, If result of list box #1 = 2,
pull contents from array 2, etc."

Hope that helps?

"GILBERT" wrote:

I have 3 list boxs that I would want to create first list drop down = STATES
(I.E. NJ,TX,CA....) the 2nd list drop down= code1(I.E.SET,SCB,PAY...)
depending on what was selected in the state drop-down and third dropdown =
code2 (I.E.W1,W2,W4..)DEPENDING ON 2nd list box...I have seen some examples
that has 2 list boxes.I need to know how to do three...Thanks In Advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default How do I create 3 list boxes dependent on prior selections

Hi,

I am needing the same thing to happen in my sheet. Are you please able to
post some sample formula?

Thanks

"Eddie O" wrote:

For the first list box, the range which the box refers to to get it's
contents would contain static values-- easy for that one. But for the second
and third list boxes, the range which the box refers to would contain
formulas which would pull the contents from arrays elsewhere in the sheet,
based on the selection made in the prior box.

So pseudocode for the formula in the dynamic range would be: "If result of
list box #1 = 1, pull contents from array 1, If result of list box #1 = 2,
pull contents from array 2, etc."

Hope that helps?

"GILBERT" wrote:

I have 3 list boxs that I would want to create first list drop down = STATES
(I.E. NJ,TX,CA....) the 2nd list drop down= code1(I.E.SET,SCB,PAY...)
depending on what was selected in the state drop-down and third dropdown =
code2 (I.E.W1,W2,W4..)DEPENDING ON 2nd list box...I have seen some examples
that has 2 list boxes.I need to know how to do three...Thanks In Advance

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default How do I create 3 list boxes dependent on prior selections

Hi,

Don't worry. I found the answers here
http://www.contextures.com/xlDataVal02.html



"Eddie O" wrote:

For the first list box, the range which the box refers to to get it's
contents would contain static values-- easy for that one. But for the second
and third list boxes, the range which the box refers to would contain
formulas which would pull the contents from arrays elsewhere in the sheet,
based on the selection made in the prior box.

So pseudocode for the formula in the dynamic range would be: "If result of
list box #1 = 1, pull contents from array 1, If result of list box #1 = 2,
pull contents from array 2, etc."

Hope that helps?

"GILBERT" wrote:

I have 3 list boxs that I would want to create first list drop down = STATES
(I.E. NJ,TX,CA....) the 2nd list drop down= code1(I.E.SET,SCB,PAY...)
depending on what was selected in the state drop-down and third dropdown =
code2 (I.E.W1,W2,W4..)DEPENDING ON 2nd list box...I have seen some examples
that has 2 list boxes.I need to know how to do three...Thanks In Advance

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
Create List + Protection Jon Young Excel Discussion (Misc queries) 0 January 10th 06 12:39 AM
Dependent List (via Data Validation) Error Dezdan Excel Worksheet Functions 2 December 2nd 05 12:33 AM
How can I create Combo list with no VBA Etiene Excel Discussion (Misc queries) 7 November 4th 05 09:32 PM
Using symbols for drop down list boxes? Sumeet Benawra Excel Worksheet Functions 0 April 19th 05 11:41 AM
How do I create a macro to return drop down boxes to first item i. gaalseth Excel Discussion (Misc queries) 1 April 13th 05 09:09 PM


All times are GMT +1. The time now is 02:13 AM.

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"