Skip to main content Skip to complementary content

IfThen

Returns a value conditionally.

The IfThen function evaluates the Condition argument and returns the value of the Then argument if the Condition is true. Nothing is returned if the value of 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.

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!