In this post, you’ll learn about the clean function in excel, formula syntax, and how you can use the CODE function in the spreadsheet.
What is code function?  Â
The main purpose of the code function is to return the ASCII code of characters. The code function is categorized as a text function in excel, it returns to the corresponding numerical ASCII value of characters. Â
What is ASCII code in excel? Â
ASCII code helps us to use special characters in excel. It provides more meaning to the information.  Â
Syntax of code function Â
=code(text)Â Â
ParametersÂ
Text – one single character or a string or any function that returns text as a result. Â
How to use CODE function in Excel? Â
Create a new excel sheet and enter the required data. Â
Example 1:Â Â
The below example shows, by using the code function we have to get the ASCII value of the characters. The values of the lower-case and upper-case characters are different.Â
Example 2:Â Â
The code function is returning the ASCII values of the first character of the sentence. Â
Example 3:Â Â
In this example, we have used another new function called lower and upper so here it reverses the value of the character. Â
Note:Â Â
- The inverse of the CHAR function in excel. Â
- The return type of code function is a numerical value. Â