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. |