Difference between revisions of "Documentation/How Tos/Calc: NOT function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m (Issues:)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:NOT function}}
 +
{{Documentation/CalcFunc LogicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_IF_function
 +
|NextPage=Documentation/How_Tos/Calc:_OR_function
 +
}}__NOTOC__
  
 
== NOT  ==
 
== NOT  ==
Line 8: Line 13:
  
 
: 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: ===
Line 14: Line 18:
 
: returns <tt>'''FALSE'''</tt>
 
: returns <tt>'''FALSE'''</tt>
  
 +
=== 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 {{bug|58572;84266}}.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: AND function|AND function]]''',
+
* [[Documentation/How_Tos/Calc: AND function|AND]]
'''[[Documentation/How_Tos/Calc: OR function|OR function]]''',
+
* [[Documentation/How_Tos/Calc: OR function|OR]]
'''[[Documentation/How_Tos/Calc: TRUE function|TRUE function]]''',
+
* [[Documentation/How_Tos/Calc: TRUE function|TRUE]]
'''[[Documentation/How_Tos/Calc: FALSE function|FALSE function]]'''
+
* [[Documentation/How_Tos/Calc: FALSE function|FALSE]]
  
'''[[Documentation/How_Tos/Calc: Logical functions|Logical functions]]'''
+
* [[Documentation/How_Tos/Calc: Logical functions|Logical functions]]
  
 
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
=== Issues: ===
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
* 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].
+
[[Category: Documentation/Reference/Calc/Logical functions]]

Latest revision as of 13:44, 31 January 2024

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

Issues:

  • Entering =NOT(TRUE) in a cell correctly returns FALSE, but the display in the formula bar is =NOT(1).
See Issue 58572;84266 .



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_NOT_function&oldid=259829"
Views
Personal tools
Navigation
Tools
In other languages