So I'm using Offset to dynamically generate a Named Range. The statement in names manager looks like this:
=OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B1048572),1)
and it describes the named Range "CaseStatus"
Then on another sheet, I use Validation to force the user to pick from the named range CaseStatus, by using Validation, List, =CaseStatus
This works perfectly in Cell P3, and my pulldown list gives me, e.g.
Apples
Oranges
Peaches
Pears
But in Cell P7, my pulldown list only gives me
Apples
Oranges
In cell P9 it is
Oranges
But in cell P12 it is
Apples
Oranges
Peaches
This is just baffling. To my understanding once a Named Range was set, it is consistent everywhere, so even if the range were wrong, it ought to be wrong in every instance. Can anybody shine any light on this?
There is something wrong with the named range formula:
=OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B1048572),1)
the $B1048572 (perhaps needs to be smaller), but it definitely needs a $ between the B and the 1048572...
=OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B$1048572),1)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks