+ Reply to Thread
Results 1 to 4 of 4

Creating a grade book (forumula issue)

  1. #1
    Registered User
    Join Date
    06-05-2007
    Posts
    3

    Creating a grade book (forumula issue)

    I'm creating a grade book for a friend of mine and have everything finished except for one small thing.

    I'm trying to keep a running tally of sorts as grades are input. For example in the image i attached I want to compute to correct percentage of the first 4 quizzes. As it sits now its just basically dividing the total percentages by 4 but that is not the correct weighed average. how can i go about doing this? thanks in advance

    [img=http://img299.imageshack.us/img299/7409/exampleqx8.th.jpg]

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try

    G31: =SUMPRODUCT(--(G17:G30<>"Not Completed"),(F17:F30))/SUMPRODUCT(--(G17:G30<>"Not Completed"),(E17:E30))


    HTH

    rylo

  3. #3
    Registered User
    Join Date
    06-05-2007
    Posts
    3
    thank you that worked perfectly!

    would you mind explaining how that works precisely so i may set it up for other areas in the workbook?

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    The numerator,
    Please Login or Register  to view this content.
    Determines which cells in G17:G30 are not equal to (<>) "Not Completed", and assigns a 1 if TRUE or 0 if FALSE. It then multiplies the 1's and 0's by the values in F17:F30 and then SUM's the products of these values. Based on your example, it's doing this:
    Please Login or Register  to view this content.
    Next, the denominator (after the "/") does the same thing, but with columns G and E. This determines the total points possible (90) as shown below:
    Please Login or Register  to view this content.
    It then divides the numerator (89) by the denominator (90) and returns your correct average.
    Last edited by Paul; 06-10-2007 at 11:06 PM.

+ 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