UNICODE function: Description, Usage, Syntax, Examples and Explanation
What is UNICODE function in Excel?
UNICODE function is one of TEXT functions in Microsoft Office Excel that returns the number (code point) corresponding to the first character of the text.
Syntax of UNICODE function
UNICODE(text)
The UNICODE function syntax has the following arguments.
- Text: Text is the character for which you want the Unicode value.
UNICODE formula explanation
- If text contains partial surrogates or data types that are not valid, UNICODE returns the #VALUE! error value.
Example of UNICODE function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
Formula | Description | Result |
=UNICODE(” “) | Returns the unicode number that the space character (a single space inside quotation marks) represents (32). | 32 |
=UNICODE(“B”) | Returns the unicode number that the uppercase “B” represents (66). | 66 |