IF()

Prev Next
This content is currently unavailable in Русский. You are viewing the default (English) version.

Description

Returns the second argument if the first argument is true, or the third argument if the first argument is false

Available In

  • Apps
  • Automations
  • Analysis

Syntax

IF(condition: Boolean, valueIfTrue: T, valueIfFalse: T)

Example

IF(true, 1, 2) = 1
if(false, 1, 2) = 2