KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to convert letter to number or vice versa in Excel?

AuthorXiaoyangLast modified

In Excel, you may sometimes need to translate between letters of the alphabet and their corresponding numerical order, for example, converting A to1, B to2, C to3, and so on. This type of conversion is useful for tasks such as sorting, data analysis, or generating custom codes. There are also situations where the reverse process is needed—translating numbers back to their associated alphabet letters. While Excel does not provide a direct "letter-number converter," there are several flexible solutions, including formulas, tools, VBA, and built-in features that can address these requirements according to your scenario. This guide provides step-by-step tutorials for each approach, discusses their applicable scenarios, and offers troubleshooting tips to efficiently manage letter-number conversions in Excel.


Convert letter to number with formula

To convert single letters (A-Z, case-insensitive) to their corresponding numbers (A=1, ..., Z=26), you can use a formula approach. This is especially helpful when working with column headings or any scenario where each letter represents a simple numeric position. For reference, this method works best for single English letters and may not provide expected results for double-letter codes (such as "AA", "AB", etc.). To address extended ranges, refer to the VBA solution later in this article.

1. In a blank cell next to your data (for example, in cell D2), type the following formula and press the Enter key:

=COLUMN(INDIRECT(B3&1))

This formula combines the letter in B3 with a row number (e.g., "A"&1 becomes "A1"), then INDIRECT returns the range reference, and COLUMN extracts the column number. The result is the numeric position of the letter. Note: If B3 is empty or contains text outside the range A-Z, an error may occur.

a screenshot of using formula to convert the letter A to its associated number

2. Use the fill handle to drag the formula down the column, applying it to the remaining entries. All single letters will convert to their corresponding number between1 and26, as shown below:
a screenshot of dragging the fill handle to convert all letters in the list to numbers

Tips: Ensure your source data contains only single letters (A-Z, not case sensitive). Double-letter inputs (such as "AA") will not be processed as expected with this method. For more robust or extended conversion, check the VBA section in this article. If you encounter #REF! or #VALUE! errors, confirm that your source text is a valid letter and that the cell reference is correct.

Easily convert multiple numbers to currency words in bulk in Excel

Converting numbers such as $357.6 into currency text like "three hundred fifty-seven dollars and sixty cents" can be useful in financial documents, invoices, and checks. If you have a large batch of numbers to convert, doing this manually is time-consuming. With the Numbers to Currency Words feature in Kutools for Excel, you can process large quantities of numeric data to currency words in one action, saving significant time and reducing errors.

Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now


Convert number to letter with formula

To convert numbers within the range of1 to26 to their equivalent uppercase letters (1=A,2=B, ...,26=Z), you can use a formula solution. This is especially helpful for mapping index numbers to column labels or referencing alphabet-coded categories.

1. In a blank cell next to your data (for example, D3), enter the following formula, then press Enter:

=MID("ABCDEFGHIJKLMNOPQRSTUVWXYZ",B3,1)

This formula extracts the nth letter from the English alphabet string, where B3 contains your number.

a screenshot of using formula to convert number to its associated letter

2. Drag the fill handle down to fill the formula for other rows as needed. All numbers from1 to26 will convert to their corresponding letters, as shown here:
a screenshot of dragging the fill handle to convert all numbers in the list to letters

Tip:
(1) Numbers above26 will return empty text, as the formula only covers26 English letters.
(2) Numbers below1 result in a #VALUE! error.
(3) Decimal numbers are automatically rounded down to the nearest integer.
(4) To extend conversions beyond "Z" (e.g.,27="AA"), refer to the VBA section later in this article.
If you get errors or unexpected blanks, check that the referenced cell contains a positive integer from1 to26.


Convert number to currency text with an amazing tool

When you have Kutools for Excel installed, the Numbers to Currency Words feature enables you to instantly convert any selected numeric values into proper currency words across your entire worksheet. This functionality is particularly valuable for financial reporting, check preparation, and billing processes, as it eliminates manual text conversion errors and ensures consistency in results.

Kutools for Excel includes more than300 handy tools for Excel. Try the full-feature version free for60 days with no credit card required! Get It Now

1. Select the numbers you want to convert to currency text, and click Kutools > Content > Numbers to Words.

2. In the Numbers to Currency Words dialog box, choose English or Chinese as the target language, then click OK.
a screenshot of selecting a language you want to convert to

All selected numbers will be converted to the corresponding currency words in one batch, as illustrated below:
a screenshot showing the converting results

Note: The accuracy and efficiency of this tool make it suitable for processing both small datasets and hundreds of rows of currency figures, ensuring reliability in financial documentation.


Related articles:


Best Office Productivity Tools

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

ExcelWordOutlookTabsPowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in