Macros with multiple drown downs

rshaf

New Member
Joined
Jan 28, 2014
Messages
12
I have a situation where I need to populate a list using multiple drop down lists.

For example list one contains dates (Feb wk 1, Feb Wk 2) and list two contains time period (8 weeks, 6 weeks). I then have a cell populated with list one meaning Cells A1:A2 would say Feb wk 1 and Feb wk 2. What I want to do is populate cells b1:b2 with data depending on the selection of the lists.

If in the first list a user selects Feb wk 1 and second they select 8 weeks I want the data to start populating from feb week 1 to the next 8 weeks. (the 8 weeks worth of data is on a separate sheet), I only have three week versions (8,6,4) and they are the same numbers. ie 8 weeks will always populate 1,1,1,2,2,2,3,3.

How can I achieve this?
 
I'm not sure if dependent lists solve my problem. See below for my set up:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]List ->[/TD]
[TD]Feb wk 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]List ->[/TD]
[TD]8 Weeks[/TD]
[/TR]
[TR]
[TD]Feb wk 1[/TD]
[TD]This is where I want the 1s,2s etc[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb Wk 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb wk 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Feb wk 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]March wk 1 [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top