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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
Line 23: Line 23:
 
: 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.
  
=== See also: ===
+
{{Documentation/SeeAlso|
'''[[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT]]''',
+
* [[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT]]
'''[[Documentation/How_Tos/Calc: ISLOGICAL function|ISLOGICAL]]''',
+
* [[Documentation/How_Tos/Calc: ISLOGICAL function|ISLOGICAL]]
'''[[Documentation/How_Tos/Calc: ISBLANK function|ISBLANK]]''',
+
* [[Documentation/How_Tos/Calc: ISBLANK function|ISBLANK]]
'''[[Documentation/How_Tos/Calc: ISERROR function|ISERROR]]''',
+
* [[Documentation/How_Tos/Calc: ISERROR function|ISERROR]]
'''[[Documentation/How_Tos/Calc: ISFORMULA function|ISFORMULA]]'''
+
* [[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''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
  
 
=== Issues: ===
 
=== Issues: ===
 
* <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=84266 issue 84266].
 
* <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=84266 issue 84266].

Revision as of 13:59, 25 February 2009


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.

Template:Documentation/SeeAlso

Issues:

  • ISNUMBER(A1) where A1 is a logical value, returns TRUE. This behaviour is not compatible with other competing spreadsheets. See issue 84266.
Personal tools