+ Reply to Thread
Results 1 to 8 of 8

Too Many Arguments

  1. #1
    Registered User
    Join Date
    01-19-2015
    Location
    Cleveland, Ohio
    MS-Off Ver
    Mac, 2011
    Posts
    6

    Question Too Many Arguments

    I'm working on a gradebook and doing letter grades. The numbers are percentages. It says too many arguments and I am getting errors. HELP

    =IF(P6<60,"F",IF<65.49,"D",IF<69.49,"D+",IF<73.49,"C-",IF<76.49,"C",IF<79.49,"C+",IF<83.49,"B-",IF<86.49,"B",IF<89.49,"A-",IF>=95,"A")
    Last edited by Allisongw; 01-19-2015 at 06:46 PM.

  2. #2
    Registered User
    Join Date
    01-16-2015
    Location
    Houston, TX
    MS-Off Ver
    2010
    Posts
    16

    Re: Too Many Arguments

    Hi!

    You're missing the (P6 for each additional If Statement also if you want everything >89.49 and <100 to = A you'll need to change the last statement to what's below "p6<=100"A"). Since excel reads the arguments in order you don't risk a 66 being counted as an A.

    =IF(P6<60,"F",IF(P6<65.49,"D",IF(P6<69.49,"D+",IF(P6<73.49,"C-",IF(P6<76.49,"C",IF(P6<79.49,"C+",IF(P6<83.49,"B-",IF(P6<86.49,"B",IF(P6<89.49,"A-",IF(P6<=100,"A"))))))))))

    Please let me know if that works for you.

  3. #3
    Registered User
    Join Date
    01-19-2015
    Location
    Cleveland, Ohio
    MS-Off Ver
    Mac, 2011
    Posts
    6

    Re: Too Many Arguments

    Thank you! That fixed the arguments, now all grades, even if 100% are showing up as an F IS there something else I messed up in the formula?

  4. #4
    Registered User
    Join Date
    01-16-2015
    Location
    Houston, TX
    MS-Off Ver
    2010
    Posts
    16

    Re: Too Many Arguments

    Grade book example.xlsxDid you copy and paste my formula? It works in my test (see attached.)

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Too Many Arguments

    Another way:

    =LOOKUP(P6, {0,65.5,69.5,73.5,76.5,79.5,86.5,89.5,95}, {"F","D","D+","C-","C","B-","B","A-","A"})
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    01-19-2015
    Location
    Cleveland, Ohio
    MS-Off Ver
    Mac, 2011
    Posts
    6

    Re: Too Many Arguments

    Since it's a percent, do I need to move the decimal point on the formula? Could that be why it is registering all as an F?

  7. #7
    Registered User
    Join Date
    01-19-2015
    Location
    Cleveland, Ohio
    MS-Off Ver
    Mac, 2011
    Posts
    6

    Re: Too Many Arguments

    YES THAT WORKED MOVING THE DECIMALS! Thank you so much for all of your help

  8. #8
    Registered User
    Join Date
    01-16-2015
    Location
    Houston, TX
    MS-Off Ver
    2010
    Posts
    16

    Re: Too Many Arguments

    Please don't forget to star me if I helped with the solution! :-)

+ 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] Too many arguments...
    By ka3kii in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-18-2013, 09:07 AM
  2. [SOLVED] Too many arguments
    By smcduffi in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-05-2012, 01:09 PM
  3. NEXT / FOR arguments
    By Loisw in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-19-2009, 11:37 AM
  4. > < = arguments
    By Papirossa in forum Excel General
    Replies: 4
    Last Post: 10-24-2006, 06:46 AM
  5. Too few arguments
    By plore in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2005, 08:50 AM

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