Dynamic data drop down list

ryqh217

New Member
Joined
Apr 8, 2012
Messages
1
Hello,

I would greatly appreciate any help with the following problem. I've tried to come up with a solution but have come up short. Basically, I would like to come up with a dynamic data validation filter, which on an individual row, allows only valid choices depending on what has been selected in the other columns of that row.

For example, suppose you have the following database in one worksheet:

Category_Type_Size_Cost
Vegetable_Carrot_Big_1.74
Vegetable_Carrot_Small_3.87
Vegetable_Lettuce_Medium_2.01
Vegetable_Potato_Small_0.50
Vegetable_Potato_Medium_2.75
Fruit_Apple_Big_7.96
Fruit_Apple_Small_4.47
Fruit_ Apple_Medium_3.04
Fruit_Banana_Small_3.64
Fruit_Banana_Medium_4.42
Meat_Chicken_Big_0.32
Meat_Chicken_Small_2.36
Meat_Chicken_Medium_0.19
Meat_Beef_Big_2.14
Meat_Beef_Small_3.62

Then in another worksheet, you want to create a cost calculation tool which you can use to select multiple items from the database so as to calculate the sum of the costs for those items (e.g. big chicken, small carrot and medium banana). However, you also want to avoid using simple data validation lists since many of the selection combinations are not valid (e.g. there is no such thing as "medium beef"). Ideally, you also want to alphabetize and eliminate duplicates in the drop down lists. (I think I know how to do this though using a nice array formula).

The part I am having trouble with is how to dynamically restrict the lists on multiple rows. I want to replicate the same thing that excel filters do, except I want the database referenced by the filters to be on a separate sheet and, most importantly, I want to be able to have filters on multiple rows.

I hope this is clear.

Any ideas on how to do this? Or suggestions for a work around?

Thanks in advance for any advice!

Ryan
 
Last edited:

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.

Forum statistics

Threads
1,217,383
Messages
6,136,244
Members
450,001
Latest member
KWeekley08

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