Syntax
IF(logical_expression, value_if_true, value_if_false)
Arguments
The printed syntax lists 3 argument(s), in order:
logical_expressionvalue_if_truevalue_if_false
“optional” marks an argument Google prints in square brackets; “repeatable” marks one Google prints with “…”.
Description from Google Docs Editors Help
“Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.”Google’s help article for IF →
Source: Google Docs Editors Help, “Google Sheets function list” (support.google.com/docs/table/25273), record record 155 of 516, data fetched 28 September 2026. Data month: September 2026.