COLUMN
Lookup

Returns the column number of a reference

Syntax:

=COLUMN([reference])

Example:

=COLUMN(B1)