Logical functions for maths-related use
Function | Description | Examples |
|---|---|---|
AND(logicalValue1, logicalValue2, ...logicalValueN) | AND returns TRUE if all arguments are TRUE. It returns FALSE if any argument is FALSE. The logicalValue arguments are the conditions you want to check. Each condition can be TRUE or FALSE. | |
FALSE() | FALSE sets the logical value to FALSE. It does not need any arguments. | |
IF(test, thenValue, elseValue) | IF checks a logical test. The test argument is any value or expression that can be TRUE or FALSE. The optional thenValue is the value returned if the test is TRUE. The optional elseValue is the value returned if the test is FALSE. | Example: |
NOT(logicalValue) | NOT reverses the logicalValue. The logicalValue argument is the value you want to reverse. | |
OR(logicalValue1, logicalValue2, ...logicalValueN) | OR returns TRUE if at least one argument is TRUE. It returns FALSE if all arguments are FALSE. The logicalValue arguments are the conditions you want to check. Each condition can be TRUE or FALSE. | No example provided. |
TRUE() | TRUE sets the logical value to TRUE. TRUE() does not need any arguments. |