IIF()
Ternary conditional function
Depends on input
IIF (<condition>, ResultT, ResultF)
| Parameter | Description |
|---|---|
condition |
A true|false expression |
resultT |
The value returned if the condition is true |
resultF |
The value returned if the condition is false |
IIF takes three arguments.If the first evaluates to true, the second argument is returned;otherwise the third is returned.
IIF could be likened to the ternary “<condition> ? resultT : resultF” operator in C-like languages.
|
Note
|
|