If the reference is a cell, the column number of the cell is returned. If the parameter is a cell area and the formula is entered as an array formula, the corresponding column numbers are returned in a single-row array. If the COLUMN function with an area reference parameter is not used for an array formula, only the column number of the first cell within the area is returned.
is the reference to a cell or cell area whose first column number is to be found.
If no reference is entered, the column number of the cell in which the formula is entered is found. The reference to the current cell is set automatically.
. Column A is the first column in the table.
. Column C is the third column in the table.
because column D is the fourth column in the table and the COLUMN function is not used as an array formula. In this case, the first value of the array is always used as the result.
both return 2
because the reference contains only column B as the second column in the table. Because single-column areas have only one column number, it does not make a difference whether the formula is used as an array formula.
if the formula was entered in column C.
returns the single-row array (3, 4) if the area (C1:D3) is named Rabbit
Parent topic: List of functions