-
Notifications
You must be signed in to change notification settings - Fork 1
Logical functions
swmal edited this page Apr 1, 2012
·
6 revisions
Tests a condition (the first argument) and returns the second argument if the condition is true. Otherwise the third argument is returned.
Example: IF(2 < 3, 1, 2)
Returns true if all of the supplied arguments are true. Numeric values that differs from 0 will be read as true.
Example: AND(true, 1)
Returns true if the supplied argument is false. A numeric value of 0 will be read as false.
Example: NOT(false)
Returns true if one or more of the supplied arguments are true. Numeric values that differs from 0 will be read as true.
Example: OR(true, false, false, 0, 1)