+ Reply to Thread
Results 1 to 12 of 12

Teacher - trying to create if rule of % into text mark A B C etc

  1. #1
    Registered User
    Join Date
    03-14-2008
    Posts
    12

    Teacher - trying to create if rule of % into text mark A B C etc

    As stated in the title....

    Want to make an if rule where a student gets overall 75% in a column, then in another column next to that that would automatically give him a B or a B+ you know what I mean?

    Hear are the ratios

    A+ - 90-100
    A - 80-89
    B+ - 75-79
    B - 70-74
    C+ - 65-69
    C - 60-64
    D+ - 55-59
    D - 50-54
    E+ - 45-49
    E - 40-44

    and another one

    Excellent - 80-100
    Very Good - 70-79
    Good - 60-69
    Moderate - 50-59
    Borderline - 40-49

    Hope it can be done.
    Thanks

  2. #2
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196
    I am also a teacher too and do a lot of stuff like this.

    Yes there are a few ways to do this. The simplist is using an if statement. eg. =if(A1>89.9,"A",if(A1>79.9,"A",ifA1>74.9,"B",

    and you can carry this on up to 8 statements.

    Hope this helps. If not there are a few other ways to do it

    PLease let me know if you do any other stuff using excel for education. it is always good to get new ideas

    Jack

  3. #3
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    quick reply thanks jack... I will give it a go

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =IF(OR(A1<40,A1=""),"",LOOKUP(A1,{40,45,50,55,60,65,70,75,80,90},{"E-","E+","D-","D+","C-","C+","B-","B+","A-","A+"}))
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    A friend of mine is pretty good - he taught me how to do lists - but es also right into autohotkey - check that little macro proggy out - he uses it with excel. I will post any more education findings.

  6. #6
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    Can't seem to get them to work - maybe because I don't understand them

    What if the column its trying o read is - SUM(E4,B4)/4

  7. #7
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    Do I just copy and paste those into an excel box?

  8. #8
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    wish I knew more about excel - at the moment I'm working on a blank sheet - A1 value is 80.

    I'm then pasting in the formulas in B1 but the formula just stays there

  9. #9
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Where did the sum formula come from ??

    Change A1 reference to your reference.

    Example attached

    VBA Noob
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196
    yes just copy the formula but is you are in column F and using data from column e then swap the A to an F

    e.g.
    =if(F1>89.9,"A+",if(F1>79.9,"A",if(F1>74.9,"B+","B)

    That will work down to B but you can just add extra conditions on the end

    Jack

  11. #11
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    okay 'excel'lent - update - Jacks formula works just had to close the bracket at the end.

    VBnewb - your first formula was a little wrong and the program corrected it to this
    =IF(OR(A1<40,A1=""),"",LOOKUP(A1,{40,45,50,55,60,65,70,75,80,90},{"E-","E+","D-","D+","C-","C+","B-","B+","A-","A+"}))
    The problem was I had to just retype "=IF'

  12. #12
    Registered User
    Join Date
    03-14-2008
    Posts
    12
    Yay it works!!!

    I have posted an example of my whole sheet.

    Thanks a bunch guys
    Attached Files Attached Files

+ 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