
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Convert Letter to Number or Vice Versa in Excel?
Sometimes in Excel, for encrypting the data, you have needed to convert letters to numbers based on their position in the alphabet series. For example, a = 1, b = 2, z = 26, and so on. Read this tutorial to learn how we can convert a letter to a number or a number to a letter based on their position in Excel. We can complete this process using the formulas supported in Excel. Mostly, this process is used for encryption and decryption of the data. Both encryption and decryption are used to provide security for data.
Converting Letters to Numbers in Excel
Here, we will first use the column formula to get the first result, then use the autofill handle to get all the results. Let's go over a simple procedure for converting a letter to a number in Excel using formulas.
Step 1
Let us consider any Excel sheet that contains a list of letters as similar to the below image.

Then, in our case, cell B1, click on an empty cell and enter the formula as follows −
=COLUMN(INDIRECT(A2&1)) and click Enter to get our first result, as shown in the below image.

Step 2
To get all the results drag down from the first result and our final result will be similar to below image.

Converting Numbers to Letters in Excel
Here we will use the MID formula to get any one of the results, then use the auto-fill handle to get all the results. Let's go over a simple procedure for converting numbers to letters in Excel using formulas.
Step 1
Let us consider an Excel sheet that contains a list of numbers similar to the one below. The numbers should always be less than 26.

Now click on the empty cell and enter the formula as
=MID("ABCDEFGHIJKLMNOPQRSTUVWXYZ",A2,1) and click enter to get our first result.

Step 2
Drag down from the first result using the auto-fill handle to get all the results, and our final result will be similar to the below image.

Conclusion
In this tutorial, we used a simple example to demonstrate how you can convert a letter to a number or vice versa in Excel.
- Related Articles
- How to Convert Week Number to Date or Vice Versa in Excel?
- How to Convert Decimal Number to Binary/Octal/Hex Number or Vice Versa in Excel?
- How to Convert Gallon to Liter/Ounce or Vice Versa in Excel?
- How to Convert Vertical List to Horizontal or Vice Versa in Excel?
- How to Convert a Range to a Table or Vice Versa in Excel?
- How to Convert Traditional Chinese to Simplified Chinese or Vice Versa in Excel?
- How to Convert Seconds to Time (hh mm ss) or Vice Versa in Excel?
- How to Convert Letter Grade to Number in Excel?
- How to Convert Time Format from 12 Hour to 24 Hour and Vice Versa in Excel?
- C++ Program to Convert Binary Number to Octal and vice-versa
- C++ Program to Convert Binary Number to Decimal and vice-versa
- C++ Program to convert Octal Number to Decimal and vice-versa
- How to convert binary to decimal and vice versa in Perl?
- How to convert String to StringBuilder and vice versa Java?
- Convert string to DateTime and vice-versa in Python
