ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   function which includes its own list - no table (https://www.excelbanter.com/excel-programming/449668-function-includes-its-own-list-no-table.html)

[email protected]

function which includes its own list - no table
 
Must you use a table?

Can you do something like this:

=index2(C4, ("m", "t", "w", "r", "f"))

where cell c4 contains a number used as an index into my list of letters

Thank you.

[email protected]

function which includes its own list - no table
 
Looking all over for something like this ... and right after I post

choose().

Sorry for the noise.

Claus Busch

function which includes its own list - no table
 
Hi,

Am Fri, 3 Jan 2014 08:48:39 -0800 (PST) schrieb :

choose().


you can also use INDEX. Then you have to write your characters as array:
=INDEX({"m";"t";"w";"r";"f"},C4)


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


All times are GMT +1. The time now is 01:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com