Drop Down depencies

rup1234

New Member
Joined
Sep 20, 2018
Messages
12
CarsTYPEMODEL
Hyundaih1I20
Hyundaih1I10
Hyundaih2I30
Hyundaih2I40
SuzukiS1WHITE
SuzukiS2black
SuzukiS3PINK

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>

[FONT=&quot]If I select Cars then it should show a unique identity like Hyundai and Suzuki.[/FONT]
[FONT=&quot]And if i select Hyundai Then it should show Unique Type Like h1,h2 , likewise in Suzuki also s1,s2,s3[/FONT]
[FONT=&quot]And in h1 (I20,I10), h2(I30,I40), S1(White), S2(black), S3(PINK)[/FONT]

[FONT=&quot]The result should show on a different sheet.[/FONT]

[FONT=&quot]Thanks in advance [/FONT]
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hey,

I'd take a look at using named ranges with INDIRECT - although the types you have listed may cause issues as they also refer to cells in Excel! Interesting...

The first dependent dropdown can be made easily enough.

Method:

I assume you already have the drop down for the Cars sorted out so I will skip on to the Type.
In the example provided make a column "Type" and put the following values:
h1
h2
S1
S2
S3
Name the h1 & h2 range as "Hyundai", then name the S1, S2 & S3 range as "Suzuki"

Now where you have the type dropdown list put the list formula as: =INDIRECT(A2)
Where A2 would be the car.

ABCDEFG
1CarsTypeModelCarsTypeModel
2Hyundaih1Hyundaih1
3Hyundaih1Suzukih2
4Hyundaih2S1
5Hyundaih2S2
6SuzukiS1S3
7SuzukiS2
8SuzukiS3

<tbody>
</tbody>

The data validation (DV) rule should be placed in cell B2 (=INDIRECT(A2))

Named ranges in example:
F2:F3 as "Hyundai"
F4:F6 as "Suzuki"
 
Upvote 0
Just thought of an idea as to get the type and model dependent list figured out, as you can't name the ranges "h1", "h2" etc, try name them with a preceeding underscore "_h1", "_h2" etc, then using the same logic as above give the DV rule as: =INDIRECT(CHAR(95)&B2) to the cell C2 (model column)

It will then look at the named range _h1 (in the example above) and return a drop-down for anything related to _h1 (I10 / I20)!
 
Upvote 0
@rup1234
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Please supply links to ALL other sites where you have asked this question.
 
Upvote 0

Forum statistics

Threads
1,214,383
Messages
6,119,198
Members
448,874
Latest member
Lancelots

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