ILIAS
eassessment Revision 61809
|
Static Public Member Functions | |
static | CELL_ADDRESS ($row, $column, $relativity=1, $referenceStyle=True, $sheetText='') |
CELL_ADDRESS. | |
static | COLUMN ($cellAddress=Null) |
COLUMN. | |
static | COLUMNS ($cellAddress=Null) |
COLUMNS. | |
static | ROW ($cellAddress=Null) |
ROW. | |
static | ROWS ($cellAddress=Null) |
ROWS. | |
static | HYPERLINK ($linkURL= '', $displayName=null, PHPExcel_Cell $pCell=null) |
static | INDIRECT ($cellAddress=Null, PHPExcel_Cell $pCell=null) |
INDIRECT. | |
static | OFFSET ($cellAddress=Null, $rows=0, $columns=0, $height=null, $width=null) |
OFFSET. | |
static | CHOOSE () |
static | MATCH ($lookup_value, $lookup_array, $match_type=1) |
MATCH. | |
static | INDEX ($arrayValues, $rowNum=0, $columnNum=0) |
INDEX. | |
static | TRANSPOSE ($matrixData) |
TRANSPOSE. | |
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. | |
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. |
Static Private Member Functions | |
static | _vlookupSort ($a, $b) |
Definition at line 46 of file LookupRef.php.
|
staticprivate |
Definition at line 608 of file LookupRef.php.
References $f.
|
static |
CELL_ADDRESS.
Creates a cell address as text, given specified row and column numbers.
row | Row number to use in the cell reference |
column | Column number to use in the cell reference |
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 |
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 |
sheetText | Optional Name of worksheet to use |
Definition at line 67 of file LookupRef.php.
References $row, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 390 of file LookupRef.php.
References PHPExcel_Calculation_Functions\flattenArray(), and PHPExcel_Calculation_Functions\VALUE().
|
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 0.
cellAddress | A reference to a range of cells for which you want the column numbers |
Definition at line 106 of file LookupRef.php.
References PHPExcel_Cell\columnIndexFromString().
|
static |
COLUMNS.
Returns the number of columns in an array or reference.
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 143 of file LookupRef.php.
References $x, PHPExcel_Calculation\_getMatrixDimensions(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
Definition at line 243 of file LookupRef.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\REF().
|
static |
INDEX.
Uses an index to choose a value from a reference or array implemented: Return the value of a specified cell or array of cells Array form not implemented: Return a reference to specified cells Reference form
range_array | a range of cells or an array constant |
row_num | selects the row in array from which to return a value. If row_num is omitted, column_num is required. |
column_num | selects the column in array from which to return a value. If column_num is omitted, row_num is required. |
Definition at line 537 of file LookupRef.php.
References PHPExcel_Calculation_Functions\REF(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
INDIRECT.
Returns the number of rows in an array or reference.
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 272 of file LookupRef.php.
References PHPExcel_Calculation\CALCULATION_REGEXP_CELLREF, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getInstance(), and PHPExcel_Calculation_Functions\REF().
|
static |
LOOKUP The LOOKUP function searches for value either from a one-row or one-column range or from an array.
lookup_value | The value that you want to match in lookup_array |
lookup_vector | The range of cells being searched |
result_vector | The column from which the matching value must be returned |
Definition at line 687 of file LookupRef.php.
References $l, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NA(), TRANSPOSE(), and VLOOKUP().
|
static |
MATCH.
The MATCH function searches for a specified item in a range of cells
lookup_value | The value that you want to match in lookup_array |
lookup_array | The range of cells being searched |
match_type | 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 426 of file LookupRef.php.
References PHPExcel_Calculation_Functions\flattenArray(), PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NA().
|
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.
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. |
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). |
cols | 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). |
height | The height, in number of rows, that you want the returned reference to be. Height must be a positive number. |
width | The width, in number of columns, that you want the returned reference to be. Width must be a positive number. |
Definition at line 322 of file LookupRef.php.
References PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getInstance(), PHPExcel_Calculation_Functions\REF(), and PHPExcel_Cell\stringFromColumnIndex().
|
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 0.
cellAddress | A reference to a range of cells for which you want the row numbers |
Definition at line 174 of file LookupRef.php.
|
static |
ROWS.
Returns the number of rows in an array or reference.
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 212 of file LookupRef.php.
References PHPExcel_Calculation\_getMatrixDimensions(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
TRANSPOSE.
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 591 of file LookupRef.php.
References $row.
Referenced by LOOKUP().
|
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.
lookup_value | The value that you want to match in lookup_array |
lookup_array | The range of cells being searched |
index_number | The column number in table_array from which the matching value must be returned. The first column is 1. |
not_exact_match | Determines if you are looking for an exact match based on lookup_value. |
Definition at line 627 of file LookupRef.php.
References $f, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\NA(), PHPExcel_Calculation_Functions\REF(), and PHPExcel_Calculation_Functions\VALUE().
Referenced by LOOKUP().