Sample Data
This data shows student scores in column A. We want to use the IF function to check if each score is 60 or above to decide if the student passed or failed.
| Cell | Value |
|---|---|
| A1 | Score |
| A2 | 85 |
| A3 | 55 |
| A4 | 70 |
| B1 | Result |
This data shows student scores in column A. We want to use the IF function to check if each score is 60 or above to decide if the student passed or failed.
| Cell | Value |
|---|---|
| A1 | Score |
| A2 | 85 |
| A3 | 55 |
| A4 | 70 |
| B1 | Result |
=IF(A2>=60, "Pass", "Fail")A B 1 | Score | Result 2 | 85 | --> Formula here 3 | 55 | 4 | 70 |
A B 1 | Score | Result 2 | 85 | Pass 3 | 55 | 4 | 70 |