Excel cannot convert a number to a letter with a single built-in formula, but you can do it reliably with a short lookup or a character-code formula. The simplest approach is to use the CHOOSE function for a fixed range (1–26), or CHAR with CODE for a dynamic conversion. This guide shows both methods, plus how to handle numbers beyond 26 and common pitfalls.
What You'll Need
- Microsoft Excel (any recent version: Microsoft 365, Excel 2019, 2021, or Excel for Mac). The steps below work on both Windows and Mac; menu labels may differ slightly by version and region.
- A worksheet with a column of numbers you want to convert (e.g., 1, 2, 3 … 26).
- Basic familiarity with entering formulas and dragging the fill handle.
Step-by-Step
- Set up your data. Enter your numbers in column A, starting at A2 (A1 can hold a header like “Number”). For example: A2=1, A3=2, down to A27=26.
- Choose your conversion method. For numbers 1–26, the
CHOOSEmethod is easiest to read. For a formula that works for any positive integer (including beyond 26), use theCHARmethod. Both are shown below. - Method 1 – CHOOSE (fixed 1–26). In cell B2, enter:
=CHOOSE(A2,"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z")
Press Enter. B2 should show “A”. Drag the fill handle down to B27 to convert all numbers. - Method 2 – CHAR (dynamic, works for 1–26). In cell C2, enter:
=CHAR(A2+64)
Press Enter. C2 should show “A” (because 65 is the ASCII code for “A”). Drag down to fill. - Handle numbers beyond 26. The formulas above only cover 1–26. For 27 and above, you need a different approach. One common method is to use
ADDRESSandSUBSTITUTEto extract column letters, but that is complex. A simpler workaround for small ranges is to extend theCHOOSElist with two-letter combinations (AA, AB, etc.) or use a custom VBA function. For most users, keeping numbers within 1–26 is sufficient. - Copy the formula down. Select the cell with the formula, grab the fill handle (small square at bottom-right), and drag down as far as needed. Alternatively, double-click the fill handle to auto-fill to the end of adjacent data.
- Convert formulas to values (optional). If you want to remove the formulas and keep only the letters, select the converted column, press Ctrl+C (Cmd+C on Mac), then right-click and choose Paste Special > Values. This replaces formulas with static text.
Common Mistakes
- Using numbers outside 1–26 with CHAR or CHOOSE.
CHAR(A2+64)for A2=27 returns “[” (ASCII 91), not “AA”.CHOOSEwith an index greater than the number of arguments returns an error. Always check your range. - Forgetting to lock the range in CHOOSE. If you copy the formula to another column, relative references may shift. Use absolute references (e.g.,
$A$2) if needed. - Typing the formula as text. If the cell is formatted as Text before you enter the formula, Excel may display the formula instead of calculating. Format the cell as General first, or re-enter the formula after changing the format.
- Mixing up ASCII codes. Uppercase “A” is 65, lowercase “a” is 97. Using
CHAR(A2+96)gives lowercase letters. Be consistent. - Dragging the fill handle without adjusting references. If your numbers are not in a contiguous column, the fill handle may not copy correctly. Always verify the first few results.
Tips
- For a quick one-off conversion, you can type the letter manually—but formulas are better for large lists.
- Use
UPPERorLOWERaround your result to force case:=UPPER(CHAR(A2+64)). - If you need to convert letters back to numbers, use
CODE:=CODE(UPPER(B2))-64. - Keep a helper column with the original numbers so you can audit or re-run the conversion.
- For numbers beyond 26, consider whether you really need letters—Excel’s column labels go A–Z, AA–AZ, etc., but replicating that logic in a formula is advanced. A simple lookup table with two columns (number, letter) is often more practical.
Troubleshooting
- Formula returns #VALUE!: Check that the referenced cell contains a number, not text. Use
ISNUMBERto test. - Formula returns #N/A or #NUM!: With
CHOOSE, the index must be between 1 and the number of values. Ensure your number is within range. - Letters appear as numbers or dates: The cell may be formatted as Date or Number. Change the format to General or Text.
- Fill handle not working: Enable it via File > Options > Advanced > Editing options > Enable fill handle and cell drag-and-drop (labels may vary by version).
- Formula shows as text: The cell is likely formatted as Text. Select the cell, go to Home > Number Format, choose General, then re-enter the formula (or press F2 then Enter).
Frequently Asked Questions
Can I convert a number to a letter without a formula?
Yes, you can type the letters manually or use a lookup table. But for automation, a formula is best.
Why does CHAR(65) return “A”?
Because 65 is the ASCII code for uppercase “A”. Adding 64 to a number 1–26 maps to A–Z.
How do I convert numbers to letters beyond 26?
Excel does not have a built-in function for that. You can create a custom VBA function or use a lookup table with two-letter combinations. For most purposes, sticking to 1–26 is sufficient.
Can I use this in Excel for Mac?
Yes, the formulas work identically. Menu paths for fill handle and paste special may differ slightly.
What if my numbers are in a row instead of a column?
Adjust the cell references accordingly (e.g., A2, B2, C2) and drag horizontally instead of vertically.
Is there a function that converts a column number to a letter directly?
No native function exists. The ADDRESS function can return a cell reference like “A1”, and you can extract the letter with SUBSTITUTE and RIGHT, but it is more complex than the methods above.