I am coding in Ruby / Rails, and I have a cell range, an example is:
[0,1]..[0,3] with the convention [row, column]..[row..column]
Excel uses cell ranges like:
A2:A4 with the convention <column><row>:<column><row>
I need to convert from the former to the latter. It is mainly the letter's that I am concerned with:
A => 0,
B => 1,
C => 2,
AA => 26
AB => 27
How would I go about doing that?
I essentially need to do the reverse of this: