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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Issues:)
(Issues:)
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:ISNUMBER function}}
 +
{{Documentation/CalcFunc InformationTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_ISNONTEXT_function
 +
|NextPage=Documentation/How_Tos/Calc:_ISODD_function
 +
}}__NOTOC__
  
 
== ISNUMBER  ==
 
== ISNUMBER  ==
 
Tests if a cell contains a number.
 
Tests if a cell contains a number.
 
  
 
=== Syntax: ===
 
=== Syntax: ===
Line 12: Line 16:
  
 
: <tt>'''ISNUMBER'''</tt> currently (OOo2.3) considers the logical values <tt>'''TRUE'''</tt> and <tt>'''FALSE'''</tt> as numbers. See '''Issues''' below.
 
: <tt>'''ISNUMBER'''</tt> currently (OOo2.3) considers the logical values <tt>'''TRUE'''</tt> and <tt>'''FALSE'''</tt> as numbers. See '''Issues''' below.
 
  
 
=== Example: ===
 
=== Example: ===
Line 25: Line 28:
 
: where D5 contains <tt>'''99'''</tt>, returns <tt>'''TRUE'''</tt>, because D5 contains a  number.
 
: where D5 contains <tt>'''99'''</tt>, returns <tt>'''TRUE'''</tt>, because D5 contains a  number.
  
 +
=== Issues: ===
 +
* <tt>'''ISNUMBER(A1)'''</tt> where A1 is a logical value, returns <tt>'''TRUE'''</tt>.  This behavior is not compatible with other competing spreadsheets.<BR>  See {{bug|58572;84266}}.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT function]]''',
+
* [[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT]]
'''[[Documentation/How_Tos/Calc: ISLOGICAL function|ISLOGICAL function]]''',
+
* [[Documentation/How_Tos/Calc: ISLOGICAL function|ISLOGICAL]]
'''[[Documentation/How_Tos/Calc: ISBLANK function|ISBLANK function]]''',
+
* [[Documentation/How_Tos/Calc: ISBLANK function|ISBLANK]]
'''[[Documentation/How_Tos/Calc: ISERROR function|ISERROR function]]''',
+
* [[Documentation/How_Tos/Calc: ISERROR function|ISERROR]]
'''[[Documentation/How_Tos/Calc: ISFORMULA function|ISFORMULA function]]'''
+
* [[Documentation/How_Tos/Calc: ISFORMULA function|ISFORMULA]]
  
'''[[Documentation/How_Tos/Calc: Information functions|Information functions]]'''
+
* [[Documentation/How_Tos/Calc: Information functions|Information functions]]
  
 
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
=== Issues: ===
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
* <tt>'''ISNUMBER(A1)'''</tt> where A1 is a logical value, returns <tt>'''TRUE'''</tt>.  This behaviour is not compatible with other competing spreadsheets. See [http://qa.openoffice.org/issues/show_bug.cgi?id= issue 84266].
+
[[Category: Documentation/Reference/Calc/Information functions]]

Latest revision as of 13:23, 31 January 2024

ISNUMBER

Tests if a cell contains a number.

Syntax:

ISNUMBER(value)

Returns TRUE if value is a number or logical value and FALSE otherwise.


ISNUMBER currently (OOo2.3) considers the logical values TRUE and FALSE as numbers. See Issues below.

Example:

ISNUMBER(123)

returns TRUE.

ISNUMBER(“dog”)

returns FALSE.

ISNUMBER(D5)

where D5 contains 99, returns TRUE, because D5 contains a number.

Issues:

  • ISNUMBER(A1) where A1 is a logical value, returns TRUE. This behavior is not compatible with other competing spreadsheets.
    See Issue 58572;84266 .



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