ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | cellAddress ($row, $column, $relativity=1, $referenceStyle=true, $sheetText='') |
CELL_ADDRESS. More... | |
static | COLUMN ($cellAddress=null, ?Cell $cell=null) |
COLUMN. More... | |
static | COLUMNS ($cellAddress=null) |
COLUMNS. More... | |
static | ROW ($cellAddress=null, ?Cell $cell=null) |
ROW. More... | |
static | ROWS ($cellAddress=null) |
ROWS. More... | |
static | HYPERLINK ($linkURL='', $displayName=null, ?Cell $pCell=null) |
HYPERLINK. More... | |
static | INDIRECT ($cellAddress, Cell $pCell) |
INDIRECT. More... | |
static | OFFSET ($cellAddress=null, $rows=0, $columns=0, $height=null, $width=null, ?Cell $pCell=null) |
OFFSET. More... | |
static | CHOOSE (... $chooseArgs) |
CHOOSE. More... | |
static | MATCH ($lookupValue, $lookupArray, $matchType=1) |
MATCH. More... | |
static | INDEX ($matrix, $rowNum=0, $columnNum=0) |
INDEX. More... | |
static | TRANSPOSE ($matrixData) |
TRANSPOSE. More... | |
static | VLOOKUP ($lookup_value, $lookup_array, $index_number, $not_exact_match=true) |
VLOOKUP The VLOOKUP function searches for value in the left-most column of lookup_array and returns the value in the same row based on the index_number. More... | |
static | HLOOKUP ($lookup_value, $lookup_array, $index_number, $not_exact_match=true) |
HLOOKUP The HLOOKUP function searches for value in the top-most row of lookup_array and returns the value in the same column based on the index_number. More... | |
static | LOOKUP ($lookup_value, $lookup_vector, $result_vector=null) |
LOOKUP The LOOKUP function searches for value either from a one-row or one-column range or from an array. More... | |
static | FORMULATEXT ($cellReference='', ?Cell $pCell=null) |
FORMULATEXT. More... | |
Definition at line 19 of file LookupRef.php.
|
static |
CELL_ADDRESS.
Creates a cell address as text, given specified row and column numbers.
Excel Function: =ADDRESS(row, column, [relativity], [referenceStyle], [sheetText])
1.18.0
mixed | $row | Row number to use in the cell reference |
mixed | $column | Column number to use in the cell reference |
int | $relativity | Flag indicating the type of reference to return 1 or omitted Absolute 2 Absolute row; relative column 3 Relative row; absolute column 4 Relative |
bool | $referenceStyle | A logical value that specifies the A1 or R1C1 reference style. TRUE or omitted CELL_ADDRESS returns an A1-style reference FALSE CELL_ADDRESS returns an R1C1-style reference |
string | $sheetText | Optional Name of worksheet to use |
Definition at line 48 of file LookupRef.php.
References $row, and PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Address\cell().
|
static |
CHOOSE.
Uses lookup_value to return a value from the list of value arguments. Use CHOOSE to select one of up to 254 values based on the lookup_value.
Excel Function: =CHOOSE(index_num, value1, [value2], ...)
1.18.0
Definition at line 257 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Selection\choose().
|
static |
COLUMN.
Returns the column number of the given cell reference If the cell reference is a range of cells, COLUMN returns the column numbers of each column in the reference as a horizontal array. If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the reference of the cell in which the COLUMN function appears; otherwise this function returns 1.
Excel Function: =COLUMN([cellAddress])
1.18.0
null | array | string | $cellAddress | A reference to a range of cells for which you want the column numbers |
Definition at line 75 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation\COLUMN().
|
static |
COLUMNS.
Returns the number of columns in an array or reference.
Excel Function: =COLUMNS(cellAddress)
1.18.0
null | array | string | $cellAddress | An array or array formula, or a reference to a range of cells for which you want the number of columns |
Definition at line 98 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation\COLUMNS().
|
static |
FORMULATEXT.
1.18.0
mixed | $cellReference | The cell to check |
Cell | $pCell | The current cell (containing this formula) |
Definition at line 412 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Formula\text().
|
static |
HLOOKUP The HLOOKUP function searches for value in the top-most row of lookup_array and returns the value in the same column based on the index_number.
1.18.0
mixed | $lookup_value | The value that you want to match in lookup_array |
mixed | $lookup_array | The range of cells being searched |
mixed | $index_number | The row number in table_array from which the matching value must be returned. The first row is 1. |
mixed | $not_exact_match | determines if you are looking for an exact match based on lookup_value |
Definition at line 374 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\HLookup\lookup().
|
static |
HYPERLINK.
Excel Function: =HYPERLINK(linkURL,displayName)
1.18.0
mixed | $linkURL | Expect string. Value to check, is also the value returned when no error |
mixed | $displayName | Expect string. Value to return when testValue is an error condition |
Cell | $pCell | The cell to set the hyperlink in |
Definition at line 170 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Hyperlink\set().
|
static |
INDEX.
Uses an index to choose a value from a reference or array
Excel Function: =INDEX(range_array, row_num, [column_num])
1.18.0
mixed | $rowNum | The row in the array or range from which to return a value. If row_num is omitted, column_num is required. |
mixed | $columnNum | The column in the array or range from which to return a value. If column_num is omitted, row_num is required. |
mixed | $matrix |
Definition at line 308 of file LookupRef.php.
References $matrix, and PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Matrix\index().
|
static |
INDIRECT.
Returns the reference specified by a text string. References are immediately evaluated to display their contents.
Excel Function: =INDIRECT(cellAddress)
1.18.0
NOTE - INDIRECT() does not yet support the optional a1 parameter introduced in Excel 2010
array | string | $cellAddress | $cellAddress The cell address of the current cell (containing this formula) |
Cell | $pCell | The current cell (containing this formula) |
Definition at line 196 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Indirect\INDIRECT().
|
static |
LOOKUP The LOOKUP function searches for value either from a one-row or one-column range or from an array.
1.18.0
mixed | $lookup_value | The value that you want to match in lookup_array |
mixed | $lookup_vector | The range of cells being searched |
null | mixed | $result_vector | The column from which the matching value must be returned |
Definition at line 394 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Lookup\lookup().
|
static |
MATCH.
The MATCH function searches for a specified item in a range of cells
Excel Function: =MATCH(lookup_value, lookup_array, [match_type])
1.18.0
mixed | $lookupValue | The value that you want to match in lookup_array |
mixed | $lookupArray | The range of cells being searched |
mixed | $matchType | The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered. |
Definition at line 282 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\ExcelMatch\MATCH().
|
static |
OFFSET.
Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells. The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and the number of columns to be returned.
Excel Function: =OFFSET(cellAddress, rows, cols, [height], [width])
1.18.0
null | string | $cellAddress | The reference from which you want to base the offset. Reference must refer to a cell or range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value. |
mixed | $rows | The number of rows, up or down, that you want the upper-left cell to refer to. Using 5 as the rows argument specifies that the upper-left cell in the reference is five rows below reference. Rows can be positive (which means below the starting reference) or negative (which means above the starting reference). |
mixed | $columns | The number of columns, to the left or right, that you want the upper-left cell of the result to refer to. Using 5 as the cols argument specifies that the upper-left cell in the reference is five columns to the right of reference. Cols can be positive (which means to the right of the starting reference) or negative (which means to the left of the starting reference). |
mixed | $height | The height, in number of rows, that you want the returned reference to be. Height must be a positive number. |
mixed | $width | The width, in number of columns, that you want the returned reference to be. Width must be a positive number. |
Definition at line 236 of file LookupRef.php.
References $columns, $rows, and PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Offset\OFFSET().
|
static |
ROW.
Returns the row number of the given cell reference If the cell reference is a range of cells, ROW returns the row numbers of each row in the reference as a vertical array. If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the reference of the cell in which the ROW function appears; otherwise this function returns 1.
Excel Function: =ROW([cellAddress])
1.18.0
null | array | string | $cellAddress | A reference to a range of cells for which you want the row numbers |
Definition at line 125 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation\ROW().
|
static |
ROWS.
Returns the number of rows in an array or reference.
Excel Function: =ROWS(cellAddress)
1.18.0
null | array | string | $cellAddress | An array or array formula, or a reference to a range of cells for which you want the number of rows |
Definition at line 148 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\RowColumnInformation\ROWS().
|
static |
TRANSPOSE.
1.18.0
array | $matrixData | A matrix of values |
Unlike the Excel TRANSPOSE function, which will only work on a single row or column, this function will transpose a full matrix
Definition at line 328 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Matrix\transpose().
|
static |
VLOOKUP The VLOOKUP function searches for value in the left-most column of lookup_array and returns the value in the same row based on the index_number.
1.18.0
mixed | $lookup_value | The value that you want to match in lookup_array |
mixed | $lookup_array | The range of cells being searched |
mixed | $index_number | The column number in table_array from which the matching value must be returned. The first column is 1. |
mixed | $not_exact_match | determines if you are looking for an exact match based on lookup_value |
Definition at line 351 of file LookupRef.php.
References PhpOffice\PhpSpreadsheet\Calculation\LookupRef\VLookup\lookup().