This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
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.
Excel Function:
=COLUMN([cellAddress])
Parameters
$cellAddress
Returns
integer
—
or array of integer
COLUMNS()
COLUMNS( $cellAddress = null) : integer
COLUMNS
Returns the number of columns in an array or reference.
Excel Function:
=COLUMNS(cellAddress)
Parameters
$cellAddress
Returns
integer
—
The number of columns in cellAddress
ROW()
ROW( $cellAddress = null) : integer
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.
Excel Function:
=ROW([cellAddress])
Parameters
$cellAddress
Returns
integer
—
or array of integer
ROWS()
ROWS( $cellAddress = null) : integer
ROWS
Returns the number of rows in an array or reference.
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.
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.
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.