logical test – a value or logical expression that can be tested as TRUE or FALSE.
value if true – the value to return when logical test expression is True.
value if false – [optional] value if false When logical test evaluates to FALSE, this is the result to return.
Step By Step Guide of IF Function
This function examines a situation. If the condition is satisfied, the result is TRUE; if the condition is not met, the result is FALSE; and depending on the outcome, one of two actions will be taken.