A, B, …, Z, then AA, AB, …, AZ, BA, …, ZZ, then AAA, and so on.
Given a column number index, counting from 1, return its label: 1 is A, 26 is Z, 27 is AA.index=3 → 'C'
The third column is C.
index=52 → 'AZ'
Columns 27 to 52 are AA through AZ, and the last one is AZ.
index=703 → 'AAA'
The labels of length 1 and 2 cover 702 columns (up to ZZ), so the next one is AAA.
index=3
'C'
Run checks the first 3 tests in your browser. Submit checks all 41 tests on the server, hidden ones included.