Dapatkan nomor kolom referensi.
=COLUMN([reference])
| Parameter | Deskripsi |
|---|---|
reference |
[optional] A reference to a cell or range of cells. |
With a single cell reference, COLUMN returns the associated column number:
=COLUMN(A1) // returns 1
=COLUMN(C1) // returns 3
When a reference is not provided, COLUMN returns the column number of the cell the formula resides in. For example, if the following formula is entere
=COLUMN() // returns 4 in D6
When COLUMN is given a range, it returns the column numbers for that range:
=COLUMN(E4:G6) // returns {5,6,7}
To get Excel 365 to return a single value, you can use the implicit intersection operator (@):
=@COLUMN(E4:G6) // returns 5