+ Reply to Thread
Results 1 to 3 of 3

Adding more arguments to =CHOOSE function?

  1. #1
    Registered User
    Join Date
    03-04-2008
    Posts
    27

    Adding more arguments to =CHOOSE function?

    Is there any way to work around the limit of 29 arguments with the =CHOOSE function? I require probably 40 arguments when using it and could split it up, but it would just be a big hassle. Is there a similar function that doesn't have an argument limitation or is there a way to code around this?

    I'm using Excel 2002.

    Thanks for your help

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Adding more arguments to =CHOOSE function?

    Can you describe what you're trying to do?...
    (What you're working with and what you want to end up with)
    Posting the CHOOSE formula (even if it doesn't work) would be helpful, too.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Perhaps you could use VLOOKUP with a table or, adapting CHOOSE, assuming A1 is an integer 1 to 40

    =IF(A1<=20,CHOOSE(option1, option2.....option20),CHOOSE(MOD(A1,20),option21, option22,.....option40))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1