set drop-down list values based on a cell value

Shafique

Board Regular
Joined
Nov 23, 2018
Messages
117
Item Input Table Entry Table
SR #NameTypeSizePriceDate:Item NameTypeSizePrice
1FuelsDieselN/A10901-DecOIL??
2FuelsPetrolN/A100
3BearingsBall620665
4DiscCutting Disc4"200
5OILMobil OilBarrel3600
6OILHydraulic OilCane490
7OILBreak OilCane490
8
I set a drop down list in entry table's item name column it shows the names from Item input table's name column. But I have same Item
names with different types. Here I want to set another drop down list in entry table's type column who show only those item types that I select in item names.
and also with its type's size and its size's price.

<colgroup><col><col><col><col span="5"><col><col span="6"></colgroup><tbody>
</tbody>
<strike></strike>

<colgroup><col><col><col><col span="5"><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

One of the way to have dependant dropdowns is to have lists for each item and name them (formula tab, define name) with the item name. So yo have an oil list with the 3 oils that you name oil. Now if the item name is in g2, you make a drodown list and in source you type
Code:
=indirect(g2)

Personnally I always make my lists in tables (insert tab, table), name the content of the table oil, and then if I add an oil later to the list, it will automatically extend and it will automatically be available in te dropdown.

Now if you have fuels in g2 and a list called fuels somewhere in te workbook, your list will show fuels list
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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