Simple Averages: Weighted Averages by Hand
Simple Averages: Weighted Averages by Hand
The function =AVERAGE() can be used to calculate a simple average. In the parentheses, you
simply enter the range of cells you want to average, in the form (first:last).
To average the grades excluding the lowest score, use this formula
=(SUM(B2:F2)-MIN(B2:F2))/4. Note that once we drop the low score, we are only dealing with 4
numbers, so that is whay we have to divide by 4, rather than 5.
Weighted averages
The disadvantage of the simple average is that it assumes that every score has the same
weight: that Quiz 2 is as important to the final grade as the Final Exam. If this is not the case,
you will want to use a weighted average instead.
There are two different ways of calculating weighted averages: by entering the weights by hand
as you create the formula, or by entering the weights on the spreadsheet and using the
=SUMPRODUCT forumla. We’ll look at both methods.
We used the =AVERAGE() function to determine her grade before. Another way we could
calculate a simple average for Jane would be with the formula =(B2+C2+D2+E2+F2)/5 — in
other words, we add the scores, then divide by the number of scores we are adding.
To determine a weighted score for her, we simply modify this formula to reflect the importance
of each score. So if the project (E2) is worth twice as much as a quiz, and the final project is
worth 3 times as much as a quiz, we could use this formula. =(B2+C2+D2+2*E2+3*F2)/8. Why
do we divide by 8? It’s slightly tricky: we are now dividing by 8, because in a way we are dealing
with 8 items — we count the B2, C2, and D2 values once each, the E2 value twice, and the F2
values 3 times (so 1+1+1+2+3=8).
Once you have that set up as shown below, the formula is basically =SUMPRODUCT(range of
grades, weight of grades). In the example below, it is =SUMPRODUCT(B2:F2, B3:F3).
NOTE: If you plan to copy this formula to other cells, you should put $ marks in the formula
around the names of the cells where the weighting information is stored — so the formula would
instead look like this: =SUMPRODUCT(B2:F2, $B$3:$F$3). The dollar signs prevent Excel from
trying to “adjust” the range of cells that contain the grade weighting, and instead keep it looking
in the exact cells you set up for this information (in this example, B3 to F3). The dollar signs are
used to indicate an “absolute” reference — you can learn more about this by using Excel’s Help
function, if you wish.
There is more information about SUMPRODUCT in the resources listed at the end of this
document.
To use this, take an out-of the way part of your spreadsheet, away from the student names and
data and set up two columns. The column on the left shows each possible letter grade and to
the right, the minimum score required to earn that grade. In this example, someone who scores
79 would get a C+ and someone who scores 80 would get a B-.
Note: these scores came off the top of my head and so do not reflect the actual grade cut-offs
for your class or department. Use your own numbers.
Now, in your spreadsheet you will be able to use the LOOKUP() function to check a student
score against this list and assign the appropriate grade.
Explanation here.
=RANK(G2;$G$2:$G$22)
=PERCENTRANK(G2;$G$2:$G$22)
0 – 59 = F
60 – 69 = D
70 – 79 = C
80 – 89 = B
90 – 100 = A
=VLOOKUP(Score,GradeLU,2,TRUE)
GradeLU
This formula has four arguments. Score refers to the
student score that’s being looked up.
GradeLU is the Grade Lookup Table that’s on another
worksheet and is a named range.
The two (2) means that a number from the second
column will be returned from GradeLU.
The TRUE means the student score will
be approximately matched to the first column from
GradeLU. This is what allows a score of 72 to be
matched to 70 and consequently return a letter grade
of C.
This handout discusses features of Microsoft Excel that are useful in computing and
managing grades. These features include calculating averages and standard deviations,
dropping low test scores, assigning letter grades, and creating frequency distributions.
The handout assumes that you are able to enter and edit data in Excel and create basic
formulas and functions.
A B C D E F
2 Davis 88 73 85 78 =AVERAGE(B2:E2)
3 Johnson 52 71 65 67 =(B3*.20)+(C3*.20)+(D3*.20)+(E3*.40)
4 Smith 91 85 96 89 =(SUM(B4:E4)-MIN(B4:E4))/3
5 Jones 78 82 67 75 =(SUM(B5:D5)-MIN(B5:D5))/2*.60 +
(E5*.40)
6 Connor 88 91 83 75 =(SUM(B6:D6)-MIN(B6:D6)-
SMALL(B6:D6,2))*.50 + (E6*.50)
Weighted Averages
COUNTIF(range, "string" ) Counts the number of cells that are the same as a
search string
Excel has several logical functions that let you test cells and
perform different operations depending on their contents.
IF( ) function
The IF() function enables you to specify two different
calculations based on a certain condition. The syntax of the
IF( ) function is
=IF(condition, calculation if condition is true, calculation if
condition is false)
A B C D E F
2 Davis 88 73 =IF(F2>D2,(F2+D2)/2,D2) 78
3 Johnson 52 71 67
4 Smith 91 85 89
5 Jones 78 75
6 Connor 88 91 75
3 Williams 85 59 D Poor
4 Larkin 92 69 C Fair
5 Piniella 58 79 B Good
6 Jordan 63 89 A Excellent
7 Smith 77
Median 11550
Mode 12300
Standard 6830.264586
Deviation
Sample 46652514.31
Variance
Kurtosis 5.377822396
Skewness 2.124606282
Range 47700
Minimum 6300
Maximum 54000
Sum 6525950
Count 474
Confidence 614.8876984
Level(95.000%)
Histogram
2 2
3 4
4 6
5 8
6 10
10
Use Excel’s Fill tool to help create this Bin Range for a
histogram. Start by entering the lowest possible test score in
a cell. You can enter 0 or use the MIN( ) function to calculate
the actual minimum. With that minimum cell selected,
choose Edit then Fill Series.
In the Series dialog box, select columns and Linear for the
Type. Enter the appropriate Step and Stop values and click
OK. The Step Value specifies how much to increase each
entry and the Stop value indicates when to stop the series.
To generate the series from 1 to 10 above, you would choose
1 for the Step Value and 10 for the Stop Value. For Bin
Range 2 above, select 2 for the Step value and 10 for the Stop
Value.
Creating the Histogram
Legend - List each item for which you gave a grade. Be specific, you
have plenty of room and later you may wish that you had recorded more
information about what assignment the grade was given for.
Grade Policy
Grade Policy - You should clearly spell out how you will use grades to
determine a student's final grade. An Excel worksheet provides enough
room that this information could be included on each Grade book page.
Function
Test grades
o Add the three grades (D7+E7+F7)
o Divide by the number of grades (average)
o Multiply by 0.4 (40 %)
Project grades
o Add the two grades (G7+H7)
o Divide by the number of grades (average)
o Multiply by 0.5 (50 %)
Homework grades
o Add the four grades (I7+J7+K7+L7)
o Divide by the number of grades (average)
o Multiply by 0.1 (10 %)
Filling the function into other cells - In the sample worksheet above the
function has been entered into cell M7. Click on the bottom right corner
of the cell and drag down to the last cell where the function is needed.
In the example above that would be cell M17.
Formatting data
Averages can be displayed to whatever precision you wish to use. I used
one decimal place, although you may wish to use zero decimal places.
Zero decimal places would keep the grades in a format like they are
reported to students. An advantage of using zero decimal places would
be to avoid confusion regarding rounding grades. To illustrate this
consider the following grade:
3. From the Format Cells window choose Number and then select the
number of decimal places you want to use.
After the equation is entered in N7, click and drag to fill the equation
down into the remainder of the Grade book
A List of Online Resources for Excel Grade books