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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
(Issues:)
 
(9 intermediate revisions by 5 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  ==
Line 23: 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.
  
{{Documentation/SeeAlso|
+
=== 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}}.
 +
 
 +
{{SeeAlso|EN|
 
* [[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]]}}
 
+
[[Category: Documentation/Reference/Calc/Information functions]]
=== 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].
+

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