Difference between revisions of "Documentation/How Tos/Calc: NOT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
Line 8: | Line 8: | ||
: where <tt>'''logical_value'''</tt> is the logical value to be reversed. | : where <tt>'''logical_value'''</tt> is the logical value to be reversed. | ||
− | |||
=== Example: === | === Example: === | ||
<tt>'''NOT( TRUE() )'''</tt> | <tt>'''NOT( TRUE() )'''</tt> | ||
: returns <tt>'''FALSE'''</tt> | : returns <tt>'''FALSE'''</tt> | ||
− | |||
=== See also: === | === See also: === | ||
Line 22: | Line 20: | ||
'''[[Documentation/How_Tos/Calc: Logical functions|Logical functions]]''' | '''[[Documentation/How_Tos/Calc: Logical functions|Logical functions]]''' | ||
− | |||
=== Issues: === | === Issues: === | ||
* Entering <tt>'''=NOT(TRUE)'''</tt> in a cell correctly returns <tt>'''FALSE'''</tt>, but the display in the formula bar is <tt>'''=NOT(1)'''</tt>. See [http://www.openoffice.org/issues/show_bug.cgi?id=84266 Issue 84266]. | * Entering <tt>'''=NOT(TRUE)'''</tt> in a cell correctly returns <tt>'''FALSE'''</tt>, but the display in the formula bar is <tt>'''=NOT(1)'''</tt>. See [http://www.openoffice.org/issues/show_bug.cgi?id=84266 Issue 84266]. |
Revision as of 17:19, 25 January 2008
NOT
Reverses the logical value. Returns TRUE if the argument is FALSE, and FALSE if the argument is TRUE.
Syntax:
NOT(logical_value)
- where logical_value is the logical value to be reversed.
Example:
NOT( TRUE() )
- returns FALSE
See also:
AND function, OR function, TRUE function, FALSE function
Issues:
- Entering =NOT(TRUE) in a cell correctly returns FALSE, but the display in the formula bar is =NOT(1). See Issue 84266.