excel - Dynamically Pick a Dynamic Range -
i've spent several hours trying come clean solution this, , don't seem able to.
basically, have several dynamic ranges have defined, , want select 1 based upon condition. seems straightforward! reason want select dynamic range can graph range.
indirect
not work.
dindirect
(a common vba algorithm) not work.
(or can't them to)
choose
works! however, maximum length of dynamic range reached, means i'm forced inane solutions following.
i define dynamic_dynamic
=if(a1<3,choose(a1,'worksheetname'!dynamic_range_1, 'worksheetname'!dynamic_range_2),'worksheetname'!dynamic_dynamic_2)
then define dynamic_dynamic_2
=if(a1<5,choose(a1-2,'worksheetname'!dynamic_range_3, 'worksheetname'!dynamic_range_4),'worksheetname'!dynamic_dynamic_3)
then define dynamic_dynamic_3
=if(a1<7,choose(a1-4,'worksheetname'!dynamic_range_5, 'worksheetname'!dynamic_range_6),'worksheetname'!dynamic_dynamic_4)
.... , on.
really? i'm sure i'm being idiot, nothing else seems work!
Comments
Post a Comment