=== FOR THE ACTUAL PROBLEM, SEE POST 7 FOR THE EXCEL FILE ===
I have a long list of products in a table, where new products are added regularly. In another sheet I want to be able to retrieve this list, let's say in cell X. However, since this product list is so long, I want to sort by category of these products first. So I'd like to select the category first, in cell Y, to narrow the products list in cell X.
In the example above I want to have a list of "A","B","C" in cell Y. If I select category "B", cell X should give a list of products "4","9","10".![]()
Please Login or Register to view this content.
An array with something like INDEX(B2:B11,MATCH(cell Y, A2:A11,0)) for the data validation comes in mind, but I can't get it to work. I know I can make a separate column for each category and make named lists in combination with INDIRECT, but that would be pretty cumbersome. So the question is, can I make a data validation list for cell X, depending on one column as in the example?
(And less important, but is it possible to make a automatic list of unique names in cell Y depending on the first column? I know it's pretty easy to make a list in the conventional way, but I like to have everything automated. So that if a category name changes, or a new product with a new category is added, the list of cell Y would change automatically.)
Bookmarks