Excel Column Letter to Number Converter
Turn spreadsheet column letters into numbers and numbers into letters, one at a time or a whole list.
How to use the Excel Column Converter
- Type a column or numberEnter letters like AB to get the column number, or a number like 28 to get the letters. Cell references like C7 and R7C3 are converted between A1 and R1C1 style.
- Convert a listPaste many values, one per line, to convert them all at once.
- Copy the resultsCopy the list into your notes, formulas or code.
Example
AB is column 28: A = 1, so AB = 1 × 26 + 2. XFD is 16,384, the last column in Excel.
Cell B12 in R1C1 style is R12C2, and column 703 is AAA.
Frequently asked questions
How are column letters calculated?
Columns count in a base-26 system without a zero: A–Z are 1–26, then AA is 27, AZ is 52, BA is 53, ZZ is 702 and AAA is 703. Each letter position is worth 26 times the one to its right.
What is the last column in Excel?
XFD, column 16,384, in Excel 2007 and later. Older .xls files stop at IV (256). Google Sheets supports up to 18,278 columns (ZZZ).
How do I do this with a formula?
In Excel or Sheets, =COLUMN(INDIRECT("AB1")) gives 28, and =SUBSTITUTE(ADDRESS(1,28,4),"1","") gives AB.