Skip to main content Skip to complementary content

IfThenElse

Returns a value conditionally.

The IfThenElse Function evaluates the Condition argument and returns the value of the Then argument if the Condition is true. It returns the value of the Else argument if the Condition is false.

You may use the Compare, And, Or, or Not functions to specify the value of the Condition argument.

Arguments

Condition Specify the condition to meet.
Then Specify the value to return if the condition is true.
Else Specify the value to return if the condition is false.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!