HANDOUT for this is available at http://i-digitals.blogspot.com/2011/08/using-excel-to-manage-student-grade.html
This workshop is an introduction to basic Excel formulas and functions. The emphasis is on the application of the software to manage student scores, and to calculate the letter grade for a class.
2. WORKSHOP OBJECTIVE
After completion of the workshop, participants will be able
to:
• Identify the syntax and operators of an Excel formula
• Use SUM(), MAX(), MIN(), SMALL(), COUNTIF(), and
AVAREAGE() to perform statistical calculation
• Construct an IF() formula to perform computation
• Create a look-up table and use VLOOKUP() function to
update student letter grade
3. OPERATORS
OPERATOR MEANING EXAMPLE
+ (plus sign) Addition 3+3
– (minus sign) Subtraction 3–1
Negation –1
* (asterisk) Multiplication 3*3
/ (forward slash) Division 3/3
% (percent sign) Percent 20%
^ (caret) Exponentiation 3^2
= (equal sign) Equal to A1=B1
> (greater than sign) Greater than A1>B1
< (less than sign) Less than A1<B1
>= (greater than or equal to sign) Greater than or equal to A1>=B1
<= (less than or equal to sign) Less than or equal to A1<=B1
<> (not equal to sign) Not equal to A1<>B1
: (colon) Range operator, which produces one B5:B15
reference to all the cells between two
references, including the two references
4. EXCEL FORMULAS AND FUNCTIONS
FUNCTION WHAT IT DOES
SUM(range) Adds all the numbers in a range of cells
AVERAGE(range) Calculates the average of a range of cells
IF(LogicalTest, TrueValue, falseValue) Checks whether a condition is met, and
returns one value if true, and anther
value if false
MAX(range) Returns the largest value in a set of
values. It ignores logical values and text
MIN(range) Returns the smallest value in a set of
values
COUNT(range ) Counts the number of values (cells
containing numbers) in a range
COUNTIF(range, criteria ) Counts the number of cells that are the
same as a search string
SMALL(range, k) Returns the k-th smallest value in a set
of values
5. AVERAGE AND WEIGHTED AVERAGE SCORE
• Average of a set of scores:
• AVERAGE() All cell weighted equally
• =AVERAGE(B2:B5)
• Weighted Average:
• 20% and 40% weight
• =(B2+C2+D2)*0.2+E2*0.4
6. AVERAGE AND WEIGHTED AVERAGE SCORE
A B C D E F
G
Name Quiz 1 Quiz 2 Quiz 3 Final Total Score Weighted
1 Average
2 Angela 98 91 98 81 =SUM(C2:E2 =B2*0.2+C2
) *0.2+D2*0.2
+F2*0.4
… Eric 89 78 85 92
5 John 68 67 73 43
6 Average =AVERAGE(B
2:B5)
7 Highest =MAX(B2:B5
)
8 Lowest =MIN(B2:B5)
7. DROPPING LOWEST SCORES
• Drop one lowest score
=SUM(B2:E2)-MIN(B2:E2)
• Drop two lowest score
=SUM(B2:E2)-MIN(B2:E2)-SMALL(B2:E2,2)
8. TAKING ATTENDANCE
• Recording Student Attendance
• Displaying Attendance in Another Worksheet
A B C D E F G H
1
Name Quiz 1 Quiz 2 Quiz 3 Final Total Absence Adjusted
2
Angela 98 91 98 81 =Attendance!I2 =IF(G2>=3,F2-
30,F2)
9. ADJUSTING SCOER
• Excel IF() function to adjust student score based on your class policies
=IF(Criteria, Value if true, Value if false)
• AND() check whether all arguments are true. OR() function checks whether
any of the arguments are true.
• ISBLANK() check whether a reference is an empty cell and returns true or
false
• What the hell is this?
=IF(AND(A1>B1, NOT(ISBLANK(B1))), AVERAGE(A1, B1), B1)
10. LETTER GRADES
• VLOOKUP() function looks for a value
=VLOOKUP(lookup value, lookup table range, value column)
A B C D E F G H I
1 Name Quiz 1 Quiz 2 Quiz 3 Final Total Absence Adjusted Score Grade
=VLOOKUP(H2,$A$10:$B
2 Angela 98 91 98 81 368 1 368
$14,2)
3 Debra 72 78 78 97 325 1 325 B
…
9
10 0 F
11 240 D
12 280 C
13 320 B
14 360 A
There are three types of data you can put in a cell in an Excel spreadsheet, number, text and formulas. Formulas are used to add, subtract, multiply, or divide the numbers in a cell (or cells) and produce a new answer.