+ Reply to Thread
Results 1 to 11 of 11

Grade book with varied weightings; letters to numbers to letters

  1. #1
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Grade book with varied weightings; letters to numbers to letters

    Hi everyone, I am looking to edit a markbook/gradebook. I am trying to change the weighting of each section. With the attached document, I am trying to make it so that SU = 40%, SHE = 40% and SIS = 20%.
    So let's say they got an A+, B- and a C the overall result should be a B+. With the gradebook I need to make sure that it doesn't count N's or blank spaces. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Grade book with varied weightings; letters to numbers to letters

    How do you want the units weighting when one is missing?

    Why are you not counting non-graded in their averages, by the way? What is the difference? If they sat the exam, then N should be 0, surely?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Grade book with varied weightings; letters to numbers to letters

    With vlookup to determine the weight.

    After that a pivot table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Grade book with varied weightings; letters to numbers to letters

    Re: Grade book with varied weightings; letters to numbers to letters
    How do you want the units weighting when one is missing?

    Why are you not counting non-graded in their averages, by the way? What is the difference? If they sat the exam, then N should be 0, surely?
    Ali

    AliGW I am not counting the N as the student may have been absent for that component or it has not been completed or attempted and we are still required to put a grade in.
    In terms of the weighting I want it so that it would ignore the blank.
    So say it was out A+, blank and C+. This would be an A-. So the calculation for the A+ would become 15/100*40 and the C+ would be 9/100*20. Then to calculate the final grade it would be the sum of the two values divide 60 multiplied by 100. The following equation would be for numerical values only: =ROUNDUP(SUM(B3:C3/60*100),0). I need something that ignores blanks and "N" in the calculation.

    At the moment I have modified it to this, but it does not account for the "N" result: =IFERROR(VLOOKUP(ROUND(IFERROR((IF(ISTEXT(H4),(VLOOKUP(H4,'Grade determination'!$B$3:$C$18,2,FALSE)/15*45),0)+IF(ISTEXT(I4),(VLOOKUP(I4,'Grade determination'!$B$3:$C$18,2,FALSE)/15*55),0))/100*15,0),0),CHOOSE({1,2},'Grade determination'!$C$3:$C$18,'Grade determination'!$B$3:$B$18,),2,0),)
    Last edited by AliGW; 08-29-2022 at 08:19 AM.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Grade book with varied weightings; letters to numbers to letters

    @mcgudo

    If you are responding out of sequence, it is usually enough just to mention the helper's user name (e.g @Oeldere).

    It is not clear to my to who you are replying #2 or #3.

    I suppose to #2.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Grade book with varied weightings; letters to numbers to letters

    Give this a go in K4:

    =INDEX('Grade determination'!$B$3:$B$17,MATCH(ROUND(SUMPRODUCT(((SUBSTITUTE(H4:J4,"N","")<>""))*({0.4,0.4,0.2})*('Grade determination'!$B$3:$B$17=H4:J4)*('Grade determination'!$C$3:$C$17))*(1/SUMPRODUCT((H4:J4<>"")*(H4:J4<>"N")*({0.4,0.4,0.2}))),0),'Grade determination'!$C$3:$C$17,0))
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Grade book with varied weightings; letters to numbers to letters

    Let me know if you have any questions.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  8. #8
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Grade book with varied weightings; letters to numbers to letters

    Reply to #5. Sorry oeldere when I try to put at someone it gives me an error saying; You are not allowed to post any kinds of links, images or videos until you post a few times. So I was trying to make it more clear by copying the message that I was replying to into the reply and adding their name..

  9. #9
    Registered User
    Join Date
    08-29-2022
    Location
    Rockhampton
    MS-Off Ver
    365
    Posts
    17

    Re: Grade book with varied weightings; letters to numbers to letters

    Hi AliGW, this does work thank you. I modified it slightly as it was giving me a DIV0 error when all cells are empty.
    =IFERROR(INDEX('Grade determination'!$B$3:$B$17,MATCH(ROUND(SUMPRODUCT(((SUBSTITUTE(H4:J4,"N","")<>""))*({0.4,0.4,0.2})*('Grade determination'!$B$3:$B$17=H4:J4)*('Grade determination'!$C$3:$C$17))*(1/SUMPRODUCT((H4:J4<>"")*(H4:J4<>"N")*({0.4,0.4,0.2}))),0),'Grade determination'!$C$3:$C$17,0)),"")

    Hopefully that fixes everything. It seems to at the moment. Thanks again
    Last edited by AliGW; 08-30-2022 at 01:01 AM. Reason: Please DON'T quote unnecessarily!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Grade book with varied weightings; letters to numbers to letters

    It worked with empty cells for me, as can be seen in the workbook I attached - if you mean when ALL cells were empty, then yes, the error trap is what you needed to add.

    It was fun to work out.

    Here's the advice I give about responding in threads:

    Administrative Note:

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter and rarely necessary.

    If you are responding out of sequence, it is usually enough just to mention the helper's user name (e.g @AliGW).

    If you do need to quote, limit the quoted section just to the section to which you wish to draw your helper's attention or a direct question to which you wish to respond.

    For normal conversational replies, try using the QUICK REPLY box below or the REPLY button instead of REPLY WITH QUOTE.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Grade book with varied weightings; letters to numbers to letters

    Here's a version using LET to set parameters/criteria:

    =LET(u,H4:J4,uxn,SUBSTITUTE(u,"N","")<>"",w,{0.4,0.4,0.2},gdb,'Grade determination'!$B$3:$B$17,gdc,'Grade determination'!$C$3:$C$17,IFERROR(INDEX(gdb,MATCH(ROUND(SUMPRODUCT(((uxn))*(w)*(gdb=u)*(gdc))*(1/SUMPRODUCT(((uxn))*(w))),0),gdc,0)),""))
    Last edited by AliGW; 08-30-2022 at 04:12 AM. Reason: Typo corrected.

+ 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. How to work out the average grade (letters A-D) with a formula?
    By PhilEvans in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2019, 10:37 AM
  2. [SOLVED] Varied range count , numbers , decimal , letters .
    By I need excel help in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2018, 03:19 PM
  3. [SOLVED] Removing varied number of letters from end of number-letter string
    By WhiskeyGolf in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-16-2015, 04:43 AM
  4. Replies: 1
    Last Post: 08-27-2014, 11:05 AM
  5. Replies: 13
    Last Post: 07-30-2014, 12:03 PM
  6. Parsing Letters and Numbers (And Letters)
    By jontran718 in forum Excel General
    Replies: 6
    Last Post: 01-12-2012, 12:55 PM
  7. Replies: 2
    Last Post: 12-01-2010, 02:29 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