Given a columns\' index, how can you get an Excel column name?
The problem is trickier than it sounds because it\'s not just base-26. The columns
In Ruby:
class Fixnum def col_name quot = self/26 (quot>0 ? (quot-1).col_name : "") + (self%26+65).chr end end puts 0.col_name # => "A" puts 51.col_name # => "AZ"