Data validation depending on previous data validation

DavidPonnet

New Member
Joined
Mar 16, 2017
Messages
23
Hello folks,

I am having a hard time trying to figure out following.

I have a few typologies of cases (case1, case2, case3, etc)

Every case has its own restrictions to opening mechanisms & lighting & many more options.

unlike this example --> How to make Excel Data Validation Dependent Lists where a fruit or vegetable has only 1 extra option, i need to be able to select many different options per case type (fe. opening mechanism or lighting)

I have managed to get a solution with the "IF" function inside the data validation, but this only works really well if you only have 2 options, given the fact I have multi case types, I would need to use multiple IF functions, and it would become really messy. (see cells in yellow)

The range in RED is a test, and I was looking for a alternative solution where the list changes depending on the choice blablabla

All kind of difficult to explain like this :) I hope I did a good job. All help is more then welcome because I have been cracking my brain on this for a few hours now.

Testing options.xlsx
ABCD
1TypeCase2
2Opening
3Lighting
4
5
6TypologyOPENINGLIGHTINGCase2
7 Case1 Door 1
8 Case2 Door 2
9 Case3 Door 3
10 Case4 Door 4
11 Case5 Door 5
12 Case6 Door 6
13 Case7 Door 7
14 Case8 Door 8
15 Case9 Door 9
16 Case10 Door 10
17 Case11 0
180
19
20
21OPENING
22 Case1 Case2 Case3 Case4
23Door 1Door 1Door 1N.A.
24Door 2Door 2Door 2
25Door 3Door 3Door 3
26Door 4Door 4Door 4
27Door 5Door 5Door 5
28Door 6Door 6Door 6
29Door 7Door 7Door 7
30Door 8Door 8
31Door 9Door 9
32Door 10Door 10
33Door 11
34Door 12
35
36
37
38Lighting
39 Case1 Case2 Case3 Case4
40Lights 1Lights 1Lights 1N.A.
41Lights 2Lights 2Lights 2
42Lights 3Lights 3
43Lights 4Lights 4
44Lights 5
45Lights 6
46Lights 7
47Lights 8
48Lights 9
Sheet2
Cell Formulas
RangeFormula
D6D6=B1
D7:D18D7=IF(D6=A7,OPENING_MECH[Case1],OPENING_MECH[Case2])
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
B1List=$A$7:$A$18
B2List=IF($B$1=$A$22;$A$23:$A$34;$B$23:$B$34)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi David,

I think the following video tutorial will address your issue


Let me know if I can help you with the formulas if you have a sample document that you can share

Best Regards
M. Yusuf
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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