I am working on script related to excel document, so I need to get column index from the column letter i.e column name. For this I don't want to use PHP Excel library, as I have working for single line of code.
for example need result like this :-
A => 1
B => 2
AA => 27
AB => 28
EC => 132
UMX => 14558