Returns the column number of a reference.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
COLUMN([reference])The COLUMN function returns the column index number for a given cell reference. If the reference argument is omitted, the function returns the number of the column where the formula is currently located.
=COLUMN(C1)Kết quả: 3
Returns 3 because column C is the third column in the worksheet.
=COLUMN()Kết quả: 1
Returns 1 if the formula is entered in cell A1.
The function will return the column number of the first column in the range.