+ Reply to Thread
Results 1 to 7 of 7

Averaging grades

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    USA
    Posts
    1

    Averaging grades

    I'm a teacher. I use Excel to keep a record of my students' grades. Here's my question.

    Let's say I have 20 grades for a student's assignments in one row. In another row I have the number of points possible on each assignment.

    I want to average the student's assignment grades, making each assignment worth the same amount regardless of the number of points. I also want to drop the three lowest grades in percentage terms. So if the student made 9/10 on one assignment and 15/20 on another, I want to drop the 15/20 grade.

    I have written a Visual Basic subroutine to do this, but it's clunky. There must be a better way.

    Any suggestions on the simplest, most elegant way to accomplish this task?

    Thanks in advance

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    When you say you have 20 grades I assume these are numbers, so if grades are in A1:A20 and possible points in B1:B20 then this formula will give you the average percentage, excluding the lowest 3

    =SUM(LARGE(A1:A20/B1:B20,ROW(INDIRECT("1:"&COUNT(A1:A20)-3))))/(COUNT(A1:A20)-3)

    confirmed with CTRL+SHIFT+ENTER

    Note: assumes that B1:B20 will all have values but that some assignments may not be completed so A1:A20 could be blanks

    Formula will give an error unless you have at least 4 grades

  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    This is similar, and done in rows. I assumed data from B2 to U2 as scores and B3 to U3 as 'out of's.

    I also figured If one would have to write /count(range)-'number to exclude' you might as well put 17, particularly as there's so much faffing if you want to change the range anyway...

    =sumproduct(b2:u2/b3:u3,--(b2:u2/b3:u3>small(b2:u2/b3:u3,3)))/17
    Last edited by Cheeky Charlie; 09-02-2008 at 05:41 PM.

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

    What does your formula do if the 3rd and 4th lowest grades are the same? Or if all the grades are the same?

  5. #5
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    It doesn't work...

    sulk

    would it work with < large 17? Similar problems surely?

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

    would it work with < large 17? Similar problems surely?
    No, because it pick the N largest values, which works fine with duplicates.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    I suppose I might as well have suggested

    =AVERAGE(LARGE(A1:A20/B1:B20,ROW(INDIRECT("1:"&COUNT(A1:A20)-3))))

    confirmed with CTRL+SHIFT+ENTER

    of course you could replace COUNT(A1:A20)-3 with 17 if you always have 20 numbers in that range, but using COUNT will allow you to calculate the average, without the 3 smallest, even if some assignments are incomplete

+ 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. Averaging Averages For Patient Care
    By Michael Roback in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-25-2008, 09:24 PM
  2. Counting Higher and Foundation grades.
    By edmdas in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2008, 05:28 AM
  3. Averaging numbers while ignoring blank cells.
    By bjordan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2007, 05:09 PM
  4. skipping #DIV/0 when averaging range
    By redneck joe in forum Excel General
    Replies: 3
    Last Post: 10-06-2006, 02:41 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