Named Range Reference
Hi everyone,
I'm having trouble with named ranges. The scenario is the following:
- I have a primary dropdown list which uses a spill range (vertical) and will expand and contract depending on what the spill range produces.
- I have dependent dropdown lists for each item in the primary dropdown list.
- These dependent dropdown lists also use spill ranges (transposed horizontally) that will also expand and contract.
- The spill ranges are made named ranges, using a # to reference the spill range, for the dependent dropdown list to use.
My problem is that the spill ranges for the dependent dropdown list will move up or down when the primary dropdown list changes, but the named ranges won't. My dependent dropdown list named ranges are on a sheet titled Reference Index in column H, but the row must be relative. The primary dropdown list is on the same sheet in column G. So, the named range formulas are ='Reference Index'!$H51# (for example) so that if the primary dropdown list moves, the row number for the named range should change to reflect the new position of its associated primary dropdown item because it is a relative reference. The row number does indeed change, but not correctly at all. It changes to some random number that, for some reason, seems to follow the cell that I currently have selected when I open the Name Manager. The actual dropdowns themselves return a Data Validation error because apparently "the value must match one of the listed items", but I don't have that restriction applied and there are no listed items anyway because the dropdown isn't working. The entire thing only works when I use absolute references on both the column and row of the named range, but then it doesn't move with the dynamic primary dropdown list.
It's quite a complicated ordeal and I understand if you can't wrap your heads around it, so let me know if you need some screenshots. Any help would be greatly appreciated, thanks.
Kind regards,
Liam