+ Reply to Thread
Results 1 to 4 of 4

Too Many Arguments

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    30

    Too Many Arguments

    Formula says I have too may arguments.

    =IF((B$10)="Robert","Green",IF((B$10)="Nerida","Pink",IF((B$10)="Jack","Black",IF((B$10)="Max","Red",IF((B$10)="Jim","Blue",IF((B$10)="Chris","Orange",IF((B$10)="Sarah","Yellow",IF((B$10)="Rose","Purple",""))))))))

    I need to add: IF((B$10)="Wade","Aqua" and IF((B$10)="Steve","White" yet.

    How can I do this.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Too Many Arguments

    Here:

    Please Login or Register  to view this content.
    why not create a table for that then you could refer using lookups?


    here a table sample..
    used index and match

    colortable.xlsx

    then you can add names and colors to the table..
    Last edited by vlady; 09-04-2012 at 08:51 PM. Reason: Inserting table
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Too Many Arguments

    Awesome, your a star, cheers vlady

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Too Many Arguments

    Cheers.
    Can you mark this thread "Solved".
    Go to your first post, click edit then follow instruction below my signature line.

    thanks.


    Regards,
    Vladimir

+ 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