what is the if formula used for on excel
In Microsoft Excel formulas, comparison, or logical, operators are used to compare two values. The result of the comparison is always a logical value of TRUE or FALSE. The following logical operators are available in Excel: