UNICODE function

This article describes the formula syntax and usage of the UNICODE function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.

Description

Returns the number (code point) corresponding to the first character of the text.

Syntax

UNICODE(text)

The UNICODE function syntax has the following arguments.

  • Text    Required. Text is the character for which you want the Unicode value.

Remarks

  • If text contains partial surrogates or data types that are not valid, UNICODE returns the #VALUE! error value.

Example

The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.

To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.

Top of Page Top of Page

 
 
Applies to:
Excel 2013, Excel Online