I'm not an expert, so I apologize in advance for my vocabulary.
I trying to update a previous file without "dynamic" drop-down menu (Data > Validity > Cell Range)
I have a working example with drop-down Validity which are "dynamic" and working but ...
Here is my example
Sheet: CONFIG
Code: Select all
ROW Title Header Values...
10 Menu.1 Planet Pluton Mars Earth Moon
11 Menu.2 Color Yellow Orange Green Blue Red Purple
12 Menu.3 Fruits Apple Strawberry
Sheet: CONFIG: Named Ranges
Code: Select all
MENU1_HEADER : $CONFIG.$B$10
MENU2_HEADER : $CONFIG.$B$11
MENU3_HEADER : $CONFIG.$B$12
MENU1_VALUES : $CONFIG.$C$10:$N$10
MENU2_VALUES : $CONFIG.$C$11:$N$11
MENU3_VALUES : $CONFIG.$C$12:$N$12
Code: Select all
ROW Data > Validity > Cell Range > Source
B10 INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;2})
"Planet", "Fruits"
Code: Select all
ROW Data > Validity > Cell Range > Source
B17 INDEX((MENU1_VALUES~MENU3_VALUES);0;0;MATCH(B10;INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;2});0))
"Planet","Pluton","Mars", "Earth", "Moon" if I select "Planet" in B10
"Apple","Strawberry" if I select "Fruits" in B10"
I have choice this way because in my targted update I need some Drop-down menu which will mix as example
Menu.1 + Menu 2 or Menu.2 + Menu.3 or Menu.1 + Menu.3 or Menu.1 + Menu.2 + Menu.3
through different sheets.
Now what I trying to do with a sort of "dynamic range" in formula (getting the number of range merged in bold)
INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;2})
INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;2}) is Working.
INDEX((MENU1_HEADER~MENU2_HEADER~MENU3_HEADER);0;0;{1;3}) is Working.
but I need to fix 2 or 3 manually.
INDEX((MENU1_HEADER~MENU3_HEADER);0;0) Not working only First "element" is returned and not all.
When I'm trying these formulas using ROWS or AREAS ... err502 are starting
Code: Select all
INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;ROWS(MENU1_HEADER;MENU3_HEADER)})
INDEX((MENU1_HEADER~MENU2_HEADER~MENU3_HEADER);0;0;{1;ROWS(MENU1_HEADER;MENU2_HEADER;MENU3_HEADER)})
Code: Select all
INDEX((MENU1_HEADER~MENU3_HEADER);0;0;{1;AREAS(MENU1_HEADER~MENU3_HEADER)})
INDEX((MENU1_HEADER~MENU2_HEADER~MENU3_HEADER);0;0;{1;AREAS(MENU1_HEADER~MENU2_HEADER~MENU3_HEADER)})
But inside the Index this does not work.
Is it possible to get dynamically the "Max value of merged range" ?
Thanks you for your help.
Regards