PHPExcel_Calculation_Functions
| category | PHPExcel |
|---|---|
| package | PHPExcel_Calculation |
| copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
DIV0() : string
| access | public |
|---|---|
| category | Error Returns |
string#Not Yet ImplementedDUMMY() : string
| access | public |
|---|---|
| category | Error Returns |
string#Not Yet ImplementedERROR_TYPE(mixed $value) : boolean
mixedValue to check
booleanIS_BLANK(mixed $value) : boolean
mixedValue to check
booleanIS_ERR(mixed $value) : boolean
mixedValue to check
booleanIS_ERROR(mixed $value) : boolean
mixedValue to check
booleanIS_EVEN(mixed $value) : boolean
mixedValue to check
booleanIS_LOGICAL(mixed $value) : boolean
mixedValue to check
booleanIS_NA(mixed $value) : boolean
mixedValue to check
booleanIS_NONTEXT(mixed $value) : boolean
mixedValue to check
booleanIS_NUMBER(mixed $value) : boolean
mixedValue to check
booleanIS_ODD(mixed $value) : boolean
mixedValue to check
booleanIS_TEXT(mixed $value) : boolean
mixedValue to check
booleanN(\value $value) : \number
Returns a value converted to a number
\valueThe value you want converted
\numberN converts values listed in the following table
If value is or refers to N returns
A number That number
A date The serial number of that date
TRUE 1
FALSE 0
An error value The error value
Anything else 0NA() : string
Excel Function: =NA()
Returns the error value #N/A #N/A is the error value that means "no value is available."
| access | public |
|---|---|
| category | Logical Functions |
string#N/A!NAME() : string
Returns the error value #NAME?
| access | public |
|---|---|
| category | Error Returns |
string#NAME?NULL() : string
Returns the error value #NULL!
| access | public |
|---|---|
| category | Error Returns |
string#REF!NaN() : string
Returns the error value #NUM!
| access | public |
|---|---|
| category | Error Returns |
string#NUM!REF() : string
Returns the error value #REF!
| access | public |
|---|---|
| category | Error Returns |
string#REF!TYPE(\value $value) : \number
Returns a number that identifies the type of a value
\valueThe value you want tested
\numberN converts values listed in the following table
If value is or refers to N returns
A number 1
Text 2
Logical Value 4
An error value 16
Array or Matrix 64VALUE() : string
Returns the error value #VALUE!
| access | public |
|---|---|
| category | Error Returns |
string#VALUE!VERSION() : string
stringVersion information_ifCondition($condition)
flattenArray(array $array) : array
arrayArray to be flattened
arrayFlattened arrayflattenArrayIndexed(array $array) : array
arrayArray to be flattened
arrayFlattened arrayflattenSingleValue(mixed $value) : mixed
mixedArray or scalar value
mixedgetCompatibilityMode() : string
| access | public |
|---|---|
| category | Function Configuration |
stringCompatibility Mode
Possible Return values are:
PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel'
PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric'
PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc'getReturnDateType() : string
| access | public |
|---|---|
| category | Function Configuration |
stringReturn Date Format
Possible Return values are:
PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P'
PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O'
PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E'isCellValue($idx)
isMatrixValue($idx)
isValue($idx)
setCompatibilityMode(string $compatibilityMode) : boolean
| access | public |
|---|---|
| category | Function Configuration |
stringCompatibility Mode Permitted values are: PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc'
boolean(Success or Failure)setReturnDateType(string $returnDateType) : boolean
| access | public |
|---|---|
| category | Function Configuration |
stringReturn Date Format Permitted values are: PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E'
booleanSuccess or failure$ReturnDateType : string
| access | private |
|---|
$_errorCodes : array
| access | private |
|---|
$compatibilityMode : string
| access | private |
|---|
COMPATIBILITY_EXCEL
COMPATIBILITY_GNUMERIC
COMPATIBILITY_OPENOFFICE
RETURNDATE_EXCEL
RETURNDATE_PHP_NUMERIC
RETURNDATE_PHP_OBJECT