2-4 IF function is one of the useful and popular function in Excel.
IF capacity is used to request
that Excel test a condition and to return one value if the condition is met, and another value if the condition is not met. ‘IF’ function evaluates a certain condition and returns the value that is specified if the condition is TRUE or FALSE. The following example shows the uses of IF function: