IF / Teacher

Pass or Fail Logic

As a teacher, I need a quick and automated way to determine if each student has passed or failed a course based on their 'Final Score'. Specifically, if a student's 'Final Score' is greater than or equal to 60, they 'Pass'; otherwise, they 'Fail'.

formula.xlsx
=IF(B2>=60,"Pass","Fail")

How it works: The IF function checks a condition. In this case, `B2>=60` is the logical test. If the final score in cell B2 is 60 or higher, the condition is TRUE, and the function returns 'Pass'. If the score is less than 60, the condition is FALSE, and the function returns 'Fail'. This allows for instant grading status updates across your entire class list, saving valuable time.

Data Setup

Student Name Final Score Status
Alice Johnson 85
Bob Williams 55
Charlie Brown 70
Diana Miller 40
Eve Davis 92

Step-by-Step Guide

1

Open your Excel spreadsheet containing student data. Assume 'Final Score' is in column B, starting from cell B2.

2

Select cell C2, which is where you want the 'Pass' or 'Fail' status for the first student to appear.

3

Type the following formula into cell C2: `=IF(B2>=60,"Pass","Fail")`

4

Press Enter. Excel will display 'Pass' or 'Fail' based on the score in B2.

5

To apply this formula to all other students, click on cell C2 again. Then, hover your mouse over the small square (fill handle) at the bottom-right corner of cell C2 until your cursor changes to a plus sign (+).

6

Click and drag the fill handle down to the last student's row. Excel will automatically adjust the cell references (e.g., B3, B4) for each row.

Explore More