If Function
If Function
Label the first column in your spreadsheet "Student Name" and bold this header. Copy and paste all of
your students' names into the column. Note that you may also create another column to list the
students' identification numbers.
Label the column to the right of the "Student Name" column with the name of the first homework
assignment. Repeat this process to account for all other homework assignments. Enter each student's
score on every homework assignment in their respective rows.
Label the column to the right of the final homework assignment column "Homework Average." In the
first cell underneath this heading, type "=AVERAGE" and double-click "AVERAGE" from the drop-down
list. Select all the cells that contain the first student's homework scores. Press "Enter" on your keyboard
for the program to calculate the first student's average homework score. Select the cell with the formula
and double-click on the green square in the lower-right corner of the cell. This action fills the formula to
all cells in this column, meaning it displays the homework averages for all students.
Repeat steps two and three for other assignment types. For instance, imagine that you assigned three
projects throughout the semester. You would label the three columns to the right of the "Homework
Average" column with the names of the three projects. The column to the right of the final project
column would be "Project Average" and use the AVERAGE formula to calculate the average of each
student's project scores.
Similarly, imagine that you assign five tests throughout the semester. The five columns to the right of the
"Project Average" column would list the scores of each test. The column after the final test column
would read "Test Average" and use the AVERAGE formula to calculate the average of each student's test
scores.
Add a final closing parenthesis and press "Enter" when you're done. Select the cell that contains the
formula and double-click the fill handle to copy the formula to all cells in the column. Consider the
example spreadsheet below and imagine that the teacher accounts for homework scores as 60% and
test scores as 40% of the student's grade. In cell H2, they would enter "=((D2*0.6)+(G2*0.4))" which
calculates the overall grade as 87.5. When the teacher copies this formula to the cell below, the second
student has an overall grade of 84.2.
Student Name
Homework 1
Homework 2
Homework Average
Test 1
Test 2
Test Average
Overall Grade
Liam Chapman
75
100
87.5
90
85
87.5
87.5
Alex Richardson
80
90
85
66
100
83
84.2
Label the final column "Letter Grade" and select the first cell. Type "=IF" and select "IF" from the drop-
down menu. Select the cell that contains the first student's overall numerical grade, type ">=" and type
the number required to receive an "A." Then, add a comma and type "A" using double quotation marks.
Add another comma and use additional nested IF statements to indicate the returned letter grades
based on different scores. For instance, imagine a teacher uses the following grading scale:
90–100 = A
80–90 = B
70–80 = C
60–70 = D
<60 = F
If the first student's overall grade was in cell H2, the teacher would enter the following into the first cell
of the "Letter Grade" column: "=IF(H2>=90, "A", IF(H2>=80, "B", IF(H2>=70, "C", IF(H2>=60, "D", "F"))))".
When the teacher presses "Enter", the cell would return the letter grade that corresponds to the
student's overall numerical grade. They can copy this formula to other cells in the "Letter Grade" column
by selecting H2 and double-clicking the fill handle in the lower-right corner of the cell.