Returns one value if a logical expression is TRUE and another if FALSE.
IF(logical_expression, value_if_true, value_if_false)
Returns one value if a logical expression is TRUE and another if FALSE.
Can be nested up to 7 levels. For multiple conditions, consider IFS or SWITCH.
=IF(...)
The IF function belongs to the Logical category of Google Sheets functions.
If you're struggling with IF or need a custom formula built for your business, our Google Sheets experts can help. Get a free quote โ