Excel uses A to Z letters for column indexing, where A is the 1st column,
Z is the 26th and AA is the 27th.
The mapping is zero based, so that 0 maps to A, B maps to 1, Z to 25 and AA to 26.
public static getCellIndexFromColumnIndex ( integer $columnIndex ) : string | ||
$columnIndex | integer | The Excel column index (0, 42, ...) |
return | string | The associated cell index ('A', 'BC', ...) |