Sample Data
This data shows a student's score in cell A2. We want to assign a grade based on the score using nested IF functions.
| Cell | Value |
|---|---|
| A1 | Score |
| A2 | 85 |
| B1 | Grade |
This data shows a student's score in cell A2. We want to assign a grade based on the score using nested IF functions.
| Cell | Value |
|---|---|
| A1 | Score |
| A2 | 85 |
| B1 | Grade |
=IF(A2>=90, "A", IF(A2>=80, "B", IF(A2>=70, "C", "F")))A B 1 Score Grade 2 85 -->
A B 1 Score Grade 2 85 B
IF function do in Google Sheets?=IF(B2>90, "A", IF(B2>75, "B", IF(B2>60, "C", "F"))) and B2 = 80, what will be the output?=IF(A1>50, "Pass", IF(A1>30, "Retake", IF(A1<30, "Fail")))Pass the test and this pattern moves unknown