Skip to main content

IFS

The IFS function checks whether one or more conditions are met, and returns a value that corresponds to the first TRUE condition. IFS can take the place of multiple nested IF statements, and is much easier to read with multiple conditions.

Use

IFS( condition1, value1, condition2, value2, ... )
Checks whether one or more logical conditions are TRUE and returns a value that corresponds to the first TRUE condition.

ParameterRequiredDescription
condition1Yeslogical condition that evaluates to TRUE or FALSE
value1Yesthe value to return if the logical condition1 is TRUE
condition2Nological condition that evaluates to TRUE or FALSE
value2Nothe value to return if the logical condition2 is TRUE
...Nomore logical conditions and values

ReturnsA value with the same type as value1

Example

This section isn’t ready just yet—we’re working on it! Please check back soon, and if you need help right away, feel free to ask in our Community Forum.

ON THIS PAGE