Greetings! I have reworked your lists a little. In the name of the name, he created four parameters List1, List2, List3, List4 data taken from Sheet1.
Also, four parameters "_list1", "_list2", "_list3", "_list4" were created in the dispensary.
List1
List2
List3
List4
The logical formula is recorded for them.
_List1
VBA Code:
=IF(Sheet1!$B$2="Most Profitable";"";List1)
_List2
VBA Code:
=IF(Sheet1!$B$2="Most Profitable";"";_List2)
_List3
VBA Code:
=IF(Sheet1!$B$2="Most Profitable";"";_List3)
_List4
VBA Code:
=IF(Sheet1!$B$2="Most Profitable";List4;"")
For B3, B4, B5, B6, lists were created, where "_list1", "_list2", "_list3", "_list4" are presented in the verification of these.
If in B2 "MOST PROFITABLE", B3, B4, B5 you will not be able to choose anything and they will be empty, and in B6 you will be able to use the choice.
Book1 |
---|
|
---|
| A | B | C | D | E | F | G | H |
---|
1 | User selection | | | | Number of Scenario | Number of Years | Business Model | Number of columns |
---|
2 | View | Most Profitable | | | Scenario 1 | Y1 | DF | 1 |
---|
3 | Number of Scenario | | | | Scenario 2 | Y2 | SF | 2 |
---|
4 | Number of of Years | | | | Scenario 3 | Y3 | CF | 3 |
---|
5 | Business Model | | | | Scenario 4 | Y4 | | 4 |
---|
6 | Number of columns | | | | Scenario 5 | Y5 | | 5 |
---|
7 | | | | | Scenario 6 | Y6 | | 6 |
---|
8 | | | | | Scenario 7 | Y7 | | 7 |
---|
9 | | | | | Scenario 8 | Y8 | | 8 |
---|
10 | | | | | Scenario 9 | Y9 | | 9 |
---|
11 | | | | | Scenario 10 | Y10 | | 10 |
---|
12 | | | | | Scenario 11 | Y11 | | 11 |
---|
13 | | | | | Scenario 12 | Y12 | | 12 |
---|
14 | | | | | Scenario 13 | Y13 | | 13 |
---|
15 | | | | | Scenario 14 | Y14 | | 14 |
---|
16 | | | | | Scenario 15 | Y15 | | 15 |
---|
17 | | | | | Scenario 16 | Y16 | | 16 |
---|
18 | | | | | Scenario 17 | Y17 | | 17 |
---|
19 | | | | | Scenario 18 | Y18 | | 18 |
---|
20 | | | | | Scenario 19 | Y19 | | 19 |
---|
21 | | | | | Scenario 20 | Y20 | | 20 |
---|
22 | | | | | | | | 21 |
---|
23 | | | | | | | | 22 |
---|
24 | | | | | | | | 23 |
---|
25 | | | | | | | | 24 |
---|
26 | | | | | | | | 25 |
---|
27 | | | | | | | | 26 |
---|
28 | | | | | | | | 27 |
---|
29 | | | | | | | | 28 |
---|
30 | | | | | | | | 29 |
---|
31 | | | | | | | | 30 |
---|
32 | | | | | | | | 31 |
---|
33 | | | | | | | | 32 |
---|
34 | | | | | | | | 33 |
---|
35 | | | | | | | | 34 |
---|
36 | | | | | | | | 35 |
---|
37 | | | | | | | | 36 |
---|
38 | | | | | | | | 37 |
---|
39 | | | | | | | | 38 |
---|
40 | | | | | | | | 39 |
---|
41 | | | | | | | | 40 |
---|
|
---|