How to use the IF Function in Microsoft Excel (Easy Guide)
How to Use the IF Function in Excel
One of the most popular functions in Excel is the IF function. The IF function evaluates a condition and returns one value if the condition is true and another value if the condition is false. For example, you could have Excel look at the values in a column of order totals and return Yes if a quota is met and No if a quota isn’t met.
The syntax for the IF function looks like this: =IF(logical_test, [value_if_true], [value_if_false]).