+ Reply to Thread
Results 1 to 4 of 4

IF Statement - too many arguments - Excel 2010

  1. #1
    Registered User
    Join Date
    05-11-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2003
    Posts
    4

    IF Statement - too many arguments - Excel 2010

    I am working with a teacher to create a gradebook spreadsheet and this is the formula for the cell that calculates the grade :

    =IF(SUM(G48*0.1)+(H48*0.15)+(I48*0.15)+(J48*0.1)+(K48*0.5)>0,IF(B5>=93,"A",IF(B5>=90,"A-",IF(B5>=87,"B+",IF(B5>=83,"B",IF(B5>=80,"B-",IF(B5>=77,"C+",IF(B5>=73,"C",IF(B5>=70,"C-",IF(B5>=67,"D+",IF(B5>=64,"D-",IF(B5<64,"E")))))))))),"")

    When I try to enter this formula, I am getting the message that I have entered too many arguments. Does anyone know how I can tweak this formula to allow for all of the arugments, or a similiar formula that will do the same thing?
    Last edited by NBVC; 05-12-2011 at 11:18 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF Statement - too many arguments - Excel 2010

    Try:

    =IF(SUM(G48*0.1,H48*0.15,I48*0.15,J48*0.1,K48*0.5)>0,LOOKUP(B5,{0,64,67,70,73,77,80,83,87,90,93},{"E","D-","D+","C-","C","C+","B-","B","B+","A-","A"}),"")

    not sure if you are missing "D" and "A+"??
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF Statement - too many arguments - Excel 2010

    Try:

    =IF(SUM(G48*0.1,H48*0.15,I48*0.15,J48*0.1,K48*0.5)>0,LOOKUP(B5,{0,64,67,70,73,77,80,83,87,90,93},{"E","D-","D+","C-","C","C+","B-","B","B+","A-","A"}),"")

    not sure if you are missing "D" and "A+"??

  4. #4
    Registered User
    Join Date
    05-11-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: IF Statement - too many arguments - Excel 2010

    Perfect - thank you so much!! No, there is no A+, or D- (Strange, I know.) Thanks again!!

+ 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