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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 56: Line 56:
 
* <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].
  
{{Documentation/SeeAlso|
+
{{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]]

Revision as of 12:33, 16 July 2018



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 behaviour is not compatible with other competing spreadsheets. See issue 84266.



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