+ Reply to Thread
Results 1 to 7 of 7

you've entered too many arguments for this function

  1. #1
    Registered User
    Join Date
    03-30-2014
    Location
    phillippines
    MS-Off Ver
    Excel 2010
    Posts
    2

    you've entered too many arguments for this function

    hi guys,

    can anyone help me about this code.

    =IF(AND(B7="1",D7="OFF"),"OFF",A7,IF(AND(B8="1",D8="OFF"),"OFF",A8,IF(AND(B9="1",D9="OFF"),"OFF",A9,IF(AND(B10="1",D10="OFF"),"OFF",A10,
    IF(AND(B14="1",D14="OFF"),"OFF",A14,IF(AND(B17="1",D17="OFF"),"OFF",A17,IF(AND(B22="1",D22="OFF"),"OFF",A22)))))))

    its says youve entered to many arguments for this function.
    and i dont know what to do.
    Last edited by bkriss13; 03-30-2014 at 08:18 AM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: you've entered too many arguments for this function

    Start with this:

    Please Login or Register  to view this content.
    the if function works like this:
    Please Login or Register  to view this content.
    so you should have three parts.


    At the start of your formula you have four parts...

  3. #3
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: you've entered too many arguments for this function

    =IF(AND(B7="1",D7="OFF"),"OFF",A7,IF(AND(B8="1",D8="OFF"),"OFF",A8,IF(AND(B9="1",D9="OFF"),"OFF",A9,IF(AND(B10="1",D10="OFF"),"OFF",A10,IF(AND(B14="1",D14="OFF"),"OFF",A14,IF(AND(B17="1",D17="OFF"),"OFF",A17,IF(AND(B22="1",D22="OFF"),"OFF",A22)))))))

    You cannot have the RED parts in your formula.
    It needs to be something like this:
    =IF(AND(B7="1",D7="OFF"),"OFF",IF(AND(B8="1",D8="OFF"),"OFF",IF(AND(B9="1",D9="OFF"),"OFF"...............

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: you've entered too many arguments for this function

    The syntax is wrong. Look:

    IF(lookup_value=?,value_if_true,value_if_false)

    So you need:

    IF(AND(something="this",something_else="that"), value_if_criteria_met,IF(AND(something="this",something_else="that"), value_if_criteria_met,value_if_false)) and so on.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,292

    Re: you've entered too many arguments for this function

    Or do you mean something like this.
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Registered User
    Join Date
    03-30-2014
    Location
    phillippines
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: you've entered too many arguments for this function

    its something like this guys.

    i want to create a schedule and i want to assign someone in "function" so i use 1 so that it well assign in e5.
    Attached Images Attached Images
    Last edited by bkriss13; 03-30-2014 at 09:44 AM.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: you've entered too many arguments for this function

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. You've entered too many arguments for this function
    By jessrose in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 11:09 PM
  2. Entered to many arguments for this function
    By cuda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2014, 01:33 PM
  3. [SOLVED] [IF/AND] You've entered too many arguments for this function.
    By seaspi in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-21-2013, 07:04 PM
  4. You've entered too many arguments for this function
    By sutharnehal in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-24-2012, 09:25 PM
  5. You've entered too many arguments for this function
    By leematthews in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2011, 03:11 PM

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