Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Letter Number Quick Reference

· 5 min read · Home Tech

In this article
  1. Why You Might Need This Conversion
  2. How the Letter-to-Number Conversion Works
  3. How the Number-to-Letter Conversion Works
  4. Manual Quick Reference for Columns A–Z
  5. Common Mistakes and Misconceptions
  6. Template: Letter/Number Conversion Table
  7. Frequently Asked Questions
  8. Alternatives and Related Tools

The quickest way to convert a column letter to a number in Excel is to use the formula =COLUMN(INDIRECT("A1")) (replace A with your letter), and to convert a number back to a letter, use =SUBSTITUTE(ADDRESS(1, number, 4), "1", ""). This article explains both methods, plus the manual mapping for columns A through Z, and answers common questions about column references.

Why You Might Need This Conversion

Excel’s grid uses letters for columns (A, B, C…) and numbers for rows (1, 2, 3…). Most of the time you never think about the underlying numbers, but certain tasks force you to convert between the two:

  • Writing formulas that reference columns dynamically (e.g., using INDEX or OFFSET).
  • Using VBA or Power Query where column indexes are often numeric.
  • Importing data from other systems that label columns as numbers (e.g., 1 = A, 2 = B).
  • Debugging formulas that show column letters but you need the position for a lookup.

The mapping is simple for the first 26 columns: A=1, B=2, … Z=26. After that, Excel uses two letters (AA=27, AB=28, …), and eventually three letters (AAA=703, etc.). The maximum column in modern Excel is XFD, which is column 16384.

How the Letter-to-Number Conversion Works

Excel stores columns internally as numbers, but displays them as letters. To get the number from a letter, you can use the COLUMN function combined with INDIRECT. The formula:

=COLUMN(INDIRECT("A1"))

Replace A with your column letter. For example, to find the number for column H, use =COLUMN(INDIRECT("H1")) which returns 8. The INDIRECT converts the text "H1" into a cell reference, and COLUMN returns that cell’s column number.

If you need the number for a letter stored in a cell (e.g., cell A1 contains "H"), use:

=COLUMN(INDIRECT(A1 & "1"))

This works for any column letter, including multi-letter ones like AA or XFD.

How the Number-to-Letter Conversion Works

To go the other way—turn a number into a letter—use the ADDRESS function. The formula:

=SUBSTITUTE(ADDRESS(1, number, 4), "1", "")

Here, ADDRESS(1, number, 4) returns a relative reference like A1 (the 4 means relative row and column). Then SUBSTITUTE removes the row number "1", leaving just the column letter. For example, =SUBSTITUTE(ADDRESS(1, 8, 4), "1", "") returns "H".

If the number is in a cell (e.g., B1 contains 8), use:

=SUBSTITUTE(ADDRESS(1, B1, 4), "1", "")

Note: This formula works for columns up to XFD (16384). For larger numbers, Excel would return an error because there are no more columns.

Manual Quick Reference for Columns A–Z

For the first 26 columns, you can simply count: A=1, B=2, C=3, and so on. Here’s the full list:

  • A=1, B=2, C=3, D=4, E=5, F=6, G=7, H=8, I=9, J=10
  • K=11, L=12, M=13, N=14, O=15, P=16, Q=17, R=18, S=19, T=20
  • U=21, V=22, W=23, X=24, Y=25, Z=26

For two-letter columns, the pattern is like a base-26 number system: AA=27, AB=28, … AZ=52, then BA=53, and so on. A quick way to calculate: for a two-letter column like "AB", take the first letter’s value (A=1) times 26, plus the second letter’s value (B=2), giving 1×26+2=28. For three letters, multiply the first by 26², the second by 26, and add the third.

Common Mistakes and Misconceptions

Many users try to use =COLUMN("A1") directly, but that returns the column of the text string, not the column number of the letter. You must use INDIRECT to convert the text to a reference first.

Another mistake is assuming that column numbers restart after Z. They don’t—Excel continues with AA, AB, etc. Also, some users think that column 0 exists, but Excel columns start at 1.

Always use 4 for relative.

Template: Letter/Number Conversion Table

Copy this table into a worksheet to have a ready reference. Fill in the blank cells as needed.

Column LetterColumn Number
______
______
______
______
______

Sample (fictional): For column letter "D", the number is 4. For column number 10, the letter is "J".

Frequently Asked Questions

How do I convert a column letter to a number without a formula?

You can manually count if it’s A–Z, but for longer columns, use the formula =COLUMN(INDIRECT("XX1")) or simply look at the column header in Excel—it shows the letter, not the number. There’s no built-in function that directly returns the number from a letter, so the formula is the standard method.

Why does my formula return #REF! when I try to convert a number to a letter?

This happens when the number is greater than 16384 (the maximum column count in Excel) or less than 1. Also, if you use ADDRESS without the correct arguments, it may return an error. Double-check that your number is within the valid range.

Can I use these conversions in VBA?

Yes. In VBA, you can use Columns("A").Column to get the number, and Cells(1, 8).Address to get the letter. For example, MsgBox Columns("A").Column shows 1, and MsgBox Cells(1, 8).Address shows "$H$1".

What is the highest column number in Excel?

In modern Excel (2010 and later), the last column is XFD, which is column number 16384. Older versions (like Excel 2003) had only 256 columns (IV).

Is there a way to convert a column number to a letter using a simple formula without ADDRESS?

You can use a complex formula with SUBSTITUTE and ADDRESS as described, but there’s no simpler built-in. Some users use =LEFT(ADDRESS(1, number, 4), LEN(ADDRESS(1, number, 4))-1) but that’s essentially the same. The SUBSTITUTE method is the most straightforward.

If you frequently need these conversions, consider using Excel’s Name Manager to define a named formula, or create a small VBA function. For one-off tasks, the formulas above work fine. You can also use Excel’s Power Query to transform column letters to numbers when importing data, but that’s more advanced.

Remember that column letters are just a display format—the underlying data is always stored by row and column numbers. Understanding this helps when writing formulas that reference entire columns, like =SUM(A:A), which is equivalent to =SUM(A1:A1048576) in modern Excel.