COLUMN

Returns the column index of a cell.
A1: =COLUMN(C13) => 3
A2: =COLUMN(E13:G15) => 5
F1: =COLUMN() => 6