Dropdown List from Named Selection but Filtered

jordtee

New Member
Joined
Mar 26, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a table with columns "product" and "category" and I have data validated dropdown lists where the user chooses the product they would like for each category. The end goal is for the data validation list to only offer the user products that fall under the correct category in the column to the left. The number of products and the number of categories can increase or decrease at any time.

I have been utilizing a (more) complex solution than I hope to end up with: use power query to create a filtered table from the main table with only the product column; assign it a named range; use that named range in the dropdown list for that category. Is there a simpler solution than going through the power query steps for every category? Can I put a filter in the data validation list selection?

Book1
ABCD
1
2Choose a product for each category
3Grounding¯
4Doors¯
5Handles¯
6
7
8
9
10
11productcategory
121Doors
132Doors
143Grounding
154Handles
165Handles
176Grounding
Sheet1


This is what the power query tables look like. (these have actual data, hence the difference in "products")
1617022559384.png
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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