CHOOSE function has syntax
I have 100s of values (text values) to deliver to CHOOSE function. Instead of typing all those values every time, I want to keep those values as defined name. I tried to define a name and handed overt to CHOOSE, but it understands that name as the value1.
How can I overcome this situation?
What I did?
Defined a name:
MyName = "FirstValue","Second","Third","Fourth"
[/FONT][/COLOR][FONT="]gives [/FONT][FONT="]"FirstValue","Second","Third","Fourth"
for all other index numbers it gives #VALUE error.
[/FONT]
How can this problem be solved?
Thanks
Code:
[COLOR=#2F2F2F][FONT="]CHOOSE(index_num, value1, [value2], ...)
I have 100s of values (text values) to deliver to CHOOSE function. Instead of typing all those values every time, I want to keep those values as defined name. I tried to define a name and handed overt to CHOOSE, but it understands that name as the value1.
How can I overcome this situation?
What I did?
Defined a name:
MyName = "FirstValue","Second","Third","Fourth"
Code:
=ChOOSE(1,MyName)[/FONT][/COLOR][COLOR=#2F2F2F][FONT="]
for all other index numbers it gives #VALUE error.
[/FONT]
How can this problem be solved?
Thanks