+ Reply to Thread
Results 1 to 4 of 4

Error Message: You've entered too many arguments for this function

  1. #1
    Registered User
    Join Date
    02-02-2023
    Location
    Nova Scotia, Canada
    MS-Off Ver
    Version 2208
    Posts
    5

    Error Message: You've entered too many arguments for this function

    Trying to use the formula below and get an error message saying I've entered too many arguments for this function. See formula below:

    =IF(AND(AI2<TIME(3,0,0),AJ2="NO"),"YES","NO"),IF(AND(AI2>TIME(3,0,0),AJ2="YES"),"YES","NO"))

    For context, the criteria are satisfied if time is less than 3 hours and AJ2 = NO, but the criteria are also meet if time is greater than 3 hours and AJ2 = YES. Any help would be appreciated!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Error Message: You've entered too many arguments for this function

    Try it like this:

    =IF(AND(AI2<TIME(3,0,0),AJ2="NO"),"YES",IF(AND(AI2>TIME(3,0,0),AJ2="YES"),"YES","NO"))

    I've removed the characters ,"NO") from the end of the first IF.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-02-2023
    Location
    Nova Scotia, Canada
    MS-Off Ver
    Version 2208
    Posts
    5

    Re: Error Message: You've entered too many arguments for this function

    That worked, thank you so much!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Error Message: You've entered too many arguments for this function

    You're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 4
    Last Post: 01-06-2021, 03:25 PM
  2. [SOLVED] Nested IF function error "You've entered too many arguments..."
    By lhendrickson in forum Excel General
    Replies: 15
    Last Post: 11-19-2018, 09:53 AM
  3. [SOLVED] "You've entered too many arguments for this function" error
    By Canadian911Guy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-07-2018, 10:27 AM
  4. [SOLVED] Nester IF “You Have Entered Too Many Arguments in this Function” Error
    By Rajeshkumar R in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2017, 06:20 AM
  5. [SOLVED] Getting error 'you have entered too many arguments
    By mso3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-12-2016, 12:17 PM
  6. Nested IF function error "You've entered too many arguments..."
    By lovetofly32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2014, 08:33 PM
  7. You've entered too many arguments for this function. Error
    By MacAaroni74 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-02-2013, 09:06 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