I am trying to build a model where the user can enter in a table categories and subcategories and then to be able to select a category and subcategory in another table. The categories and subcategories table is dynamic can change over time. It is something like this:
Then in another sheet i want to include two columns with drop-down. The first column to be Category where the drop-down list to be dynamic based on the input and the second as well but based on the selection in the Categories column.
For the first column (Categories) I managed to create the dynamic drop-down by creating a Name range with the OFFSET formula (in my case is =OFFSET(Matrix!$G$1:$Y$1,0,0,1,COUNTA(Matrix!$G$1:$Y$1))
) and it works just fine. Then I have tried to create a name range for all the categories containing the subcategories again dynamically with the OFFSET function. And it works.
The problem comes when I try to link the two. I am creating a Data validation list with a source as Indirect(Reference) where "Reference" is the name of the cell where the Named range is but it does not work. In other words if I use the Name rage directly in the Data validation list source, then it works, but if I use the Indirect function it does not work.
Something else. If I do all of the above but if I create static name ranges (without the offset function) for the subcategories there is no problem.
So any ideas?