FormulaCraft

How to convert a column number to a letter in Excel and Google Sheets

Excel & Google Sheets
=SUBSTITUTE(ADDRESS(1,A2,4),"1","")

Verified example

Computed by a real spreadsheet engine on the sample data below.

Col_NumberCol_Letter
1
3
26

=SUBSTITUTE(ADDRESS(1,A2,4),"1","")A

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter the column number you want to convert in cell A2 (e.g., 1 for A, 26 for Z, 27 for AA).
  2. 2In cell B2, enter the formula =SUBSTITUTE(ADDRESS(1,A2,4),"1","").
  3. 3ADDRESS(1,A2,4) creates a relative reference like 'A1'; SUBSTITUTE removes the '1' leaving only the column letter(s).
  4. 4Drag the formula down to convert multiple column numbers at once.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What does the 4 mean in ADDRESS(1,A2,4)?

The fourth argument of ADDRESS specifies the reference style — 4 means relative reference (no $ signs), which prevents extra dollar signs in the result.

Can I use this inside INDIRECT to build a dynamic range?

Yes — combine with INDIRECT: =INDIRECT(SUBSTITUTE(ADDRESS(1,A2,4),"1","")&"2:"&SUBSTITUTE(ADDRESS(1,A2,4),"1","")&"100") to reference a whole column dynamically.

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: