Loading…
Loading…
IF checks a condition and returns one value when it is TRUE and another when it is FALSE. Text results go in double quotes. You can nest IF inside IF for more than two outcomes.
Syntax
IF(logical_test, value_if_true, [value_if_false])
Example: =IF(B2>=50,"Pass","Fail")
Read the lesson, then try it yourself in a live spreadsheet.