Given a string, calculate the number of the column it corresponds to
Perl 6, 17 bytes



{:26[.ords X-64]}


Try it online!

Anonymous code block that subtracts 64 from each byte value and converts from base 26 with Z overflowing to the next column.