Returns the column number, given a cell reference. Starts with 1 for Column A.
Syntax
COLUMN(cell_ref)
cell_ref: The cell reference whose column number you want to obtain. If omitted, it returns the column number of the cell containing the formula. E.g. E4
Examples
Formula | Result |
=COLUMN() | 1 |
=COLUMN(E4) | 5 |
=COLUMN(Sales_data) | 11 |
Get a hands-on experience of the function in the embedded range below.
Possible Errors
Errors | Meaning |
#N/A! | |
#NAME! | The function name is incorrect or invalid. The given defined name (if any) is invalid. There is a typo in the defined name used in the function. Double quotes are missing for text values in the function. Colon missing in a cell range reference.
|
#VALUE! | |
#REF! | |
Similar Functions