+ Reply to Thread
Results 1 to 15 of 15

Getting Error When IFS function gets too long ("too many arguments")

  1. #1
    Registered User
    Join Date
    01-28-2020
    Location
    Germantown, MD
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    7

    Getting Error When IFS function gets too long ("too many arguments")

    This formula works:

    =IFS(AC2>233,"B10/R0", AC2>215, "B8/R2", AC2>199, "B6/R4", AC2>189,"R6/B4", AC2>179, "R8/B2", AC2>169, "R10/O0", AC2>159, "R8/O2", AC2>149, "R6/O4", AC2>139, "O6/R4", AC2>129, "O8/R2", AC2>119, "O10/Y0", AC2>109, "O8/Y2", AC2>99, "O6/Y4", AC2>89, "Y6/O4", AC2>79, "Y8/O2")

    But when I try to expand it further, adding one more term:

    =IFS(AC2>233,"B10/R0", AC2>215, "B8/R2", AC2>199, "B6/R4", AC2>189,"R6/B4", AC2>179, "R8/B2", AC2>169, "R10/O0", AC2>159, "R8/O2", AC2>149, "R6/O4", AC2>139, "O6/R4", AC2>129, "O8/R2", AC2>119, "O10/Y0", AC2>109, "O8/Y2", AC2>99, "O6/Y4", AC2>89, "Y6/O4", AC2>79, "Y8/O2", AC2>69, "Y10/G0")

    I get the error "You entered more arguments for this function than are supported in the current file format. Any ideas as to that reference? I thought IFS formulas could have up to 127 arguments.

    Thank you in advance!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,498

    Re: Getting Error When IFS function gets too long ("too many arguments")

    must be something else, I don't get that error with either formula. Can you post a sample following the directions in the yellow banner at the top of the post?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Sounds like your trying to enter it in an old xls file, or a file that is open in compatibility mode.

  4. #4
    Registered User
    Join Date
    01-28-2020
    Location
    Germantown, MD
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    7

    Re: Getting Error When IFS function gets too long ("too many arguments")

    It is an .xls. What extension is needed? .xlsx? I can give that a shot.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,498

    Re: Getting Error When IFS function gets too long ("too many arguments")

    you might want to just note that these two conditions in your formula give the same output... AC2>199, "B6/R4", AC2>189,"R6/B4"

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,498

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Yes, xlsx is needed, but i don't understand how you get the first one to work in an xls but not the second one, wasn't aware ifs was available in xls at all.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Quote Originally Posted by Wx4Mark View Post
    It is an .xls. What extension is needed? .xlsx? I can give that a shot.
    As long as it's one of the new 4character extensions & not open in compatibility mode, it should be fine.

    Quote Originally Posted by Sambo kid View Post
    you might want to just note that these two conditions in your formula give the same output... AC2>199, "B6/R4", AC2>189,"R6/B4"
    Not for me they don't, If I enter 190 into AC2 I get "R6/B4" & if I enter 200 I get "B6/R4"

  8. #8
    Registered User
    Join Date
    01-28-2020
    Location
    Germantown, MD
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    7

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Thanks for helping - I don't understand either. I changed the file type to .xlsx and it still didn't work. I'm attaching a stripped down sheet here.
    Attached Files Attached Files

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,498

    Re: Getting Error When IFS function gets too long ("too many arguments")

    @Fluff, yeah, you are right, I had to put on my magnifiers as I didn't notice the slight difference the way the B and R showed up in sheet. Thx. LOL. (don't get old.)

  10. #10
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,498

    Re: Getting Error When IFS function gets too long ("too many arguments")

    worked for me, if you are referring to cell L14, I just clicked inside the formula and removed a couple spaces and it got active and worked fine.

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Getting Error When IFS function gets too long ("too many arguments")

    That works for me, but if you are happy to change the Risk Score data to
    Excel 2016 (Windows) 32 bit
    AE
    2
    0
    3
    16
    4
    34
    5
    50
    6
    60
    7
    70
    8
    80
    9
    90
    10
    100
    11
    110
    12
    120
    13
    130
    14
    140
    15
    150
    16
    160
    17
    170
    18
    180
    19
    190
    20
    200
    21
    216
    22
    233
    Sheet: SUMMARY

    You can use
    =XLOOKUP(AC2,AE2:AE22,AF2:AF22,"",-1)

  12. #12
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Getting Error When IFS function gets too long ("too many arguments")

    @Wx4Mark

    I opened your file and the formulas in L14 and L15 both are returning O6/Y4.

    The file that uploaded opened as an .xlsx file.
    Make sure your actual file is not opening in compatability mode
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  13. #13
    Registered User
    Join Date
    01-28-2020
    Location
    Germantown, MD
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    7

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Sorry - had a meeting, sorry to disappear for a bit there.

    So - you said there are extra spaces in the formula that are breaking it? Should the formulas not have spaces at all? Between the comma and quotes, etc?

  14. #14
    Registered User
    Join Date
    01-28-2020
    Location
    Germantown, MD
    MS-Off Ver
    Microsoft Office 365 Business
    Posts
    7

    Re: Getting Error When IFS function gets too long ("too many arguments")

    Thank you. This appears to be the case. I see that for some reason, it opened in compatibility mode for some reason. For my education, why would files open in that mode, or switch to it? I'm concerned that if another opens my spreadsheet, the formula may not work for some reason.

  15. #15
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Getting Error When IFS function gets too long ("too many arguments")

    AFAIK only the old style files (such as .xls) open in compatibility mode

+ 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. [SOLVED] Multi IF with Vlookup's error "too few arguments for this function."
    By unclejemima in forum Excel General
    Replies: 4
    Last Post: 05-16-2019, 06:55 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. Replies: 4
    Last Post: 08-31-2017, 02:52 PM
  5. Multiple IF/IFERROR statements, resulting in "too many arguments" error
    By agraham in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2016, 09:27 AM
  6. Getting "this function takes no arguments" and "#NAME?" error
    By chuckmckiel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2014, 01:58 PM
  7. 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

Tags for this Thread

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