Center for Academic Computing:

IIF Function. The IIF function is used to evaluate a condition. If a condition is true, the IIF function returns one value. If it is false, it returns a different value. IIF (condition, value_if_true, value_if_false) is the syntax for the function. Condition means the condition you want the function to evaluate. ................
................