Excel Practice - IF
Instruction
If A2 is at least 85 return "Pass"; otherwise return "Retry".
Formula Syntax
=IF(logical_test, value_if_true, value_if_false)
- logical_test: Logical condition that evaluates to TRUE or FALSE.
- value_if_true: Result returned when the condition is TRUE.
- value_if_false: Result returned when the condition is FALSE.
What it does
Return one value when a condition is TRUE, another when FALSE.
logical-checks.xlsx
| A | B | C | |
|---|---|---|---|
| 1 | Score | Attendance % | Approved |
| 2 | 92 | 96 | Yes |
| 3 | 78 | 88 | No |
| 4 | 85 | 91 | Yes |
| 5 | 66 | 84 | No |
| 6 | 90 | 93 | Yes |
| 7 | Output |
Input Formula
Need Help?
Tips
- Use IF with clean and consistent ranges for predictable results.
- Validate data types (number, text, date) before applying the formula.
- Test the formula with a small sample first, then scale it to larger ranges.