nalaka,
Welcome to MrExcel.
Maybe you can set out your Car seat data as follows.
The data validation range for the list of cars will then be $B$1:$E$1 and would increase in columns with any increase in number of cars.
Then make each of the lists of car seats below the header row and create a named range for each car.
The easy way to do that with the example data is to select range B1:E4 and in the Formula tab of the ribbon select >> Select names from selection from the Defines names section.
Tick Create Names from top row of selection >> Ok NB If there are spaces in the car type text the name will be created with Underscores replacing the spaces.
Then for the data validation of J9:J?? select your range J9:J?? >> Data Validation >> List >> and Select the headers B:E or beyond.
Data validation for K9:K??. Select your range K9:K?? >> Data Validation >> List and in the list Source input box type
=INDIRECT(SUBSTITUTE($J9," ","_"))
The Substitue part of that formula puts Underscore instead of spaces, where spaces exist, so as to match the Named Ranges.
Job Done. Because the Car Type selected in J will be equivalent to the named range that holds that car's seat numbers.
Excel 2007
| A | B | C | D | E |
---|
Car Type>> | a small car | bigger car | c | d | |
Seats | | | | | |
| | | | | |
| | | | | |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]10[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]11[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]12[/TD]
</tbody>
Sheet13
Excel 2007
| J | K |
---|
Car Type | Seats | |
bigger car | | |
a small car | | |
d | | |
<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]8[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]5[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]3[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]11[/TD]
</tbody>
Sheet13
Hope that helps.