If Function
If Function
IF Function
Most powerful of the logic functions
Returns one value if a condition is true,
another if it is false
Syntax for IF function:
IF (condition,value_if_true, value_if_false)
Example
An IF function is used to determine whether a
student passed or failed based on the final
average.
=IF (C8>=50, Pass, Fail)