How to Determine the ASCII/Numeric Code using Excel
In this article, we will learn how to return the numeric, or ASCII, code for the first character in a text string by using the CODE function in Excel. What this function does is that it returns the code corresponding to the currently used character set. Here is how we’ll apply it in our formula:
How to determine the ASCII code of a character in Excel
- In cells A1:A10, type letters of the alphabet, both uppercase and lowercase.
- Select cells B1:B10 and type the following formula: =CODE(A1).
- Press CTRL+Enter.
You should now see the ASCII codes in Column B corresponding to the letters. This tip should work in Excel 97, 2000, 2003 and 2007.