Excel Function : CODE

Download now!

Excel Function : CODE

Category

Text

Description

Returns a numeric code for the first character in a text string

Microsoft Excel Reference Page

https://support.office.com/en-us/article/CODE-function-c32b692b-2ed0-4a04-bdd9-75640144b928

Syntax and Description of the CODE Excel Function

The syntax for the CODE function in Microsoft Excel is: CODE( character_value ) Arguments character_value - The character or string that you want to return the numeric code for. Notes The CODE function returns the numeric code for the first character in a character string. The CODE function will only return the code for the first character in the string. If you want to return the code for every character in the string, you will need to use a looping construct such as a FOR loop. The result of the CODE function is always an integer between 0 and 255. The CODE function is a built-in function in Microsoft Excel and is available in all

About CODE Excel Function

CODE function in excel returns a numeric code for the first character in a given text string. The returned code corresponds to the character set used by your computer.