UNICODE Function

Returns the Unicode number of the first character in a text value.

Category

Text

Available in

Excel 2013+, Microsoft 365

Returns

A number

Want to practice UNICODE in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

UNICODE is the reverse of UNICHAR: it tells you the Unicode number of the first character.

Use it to find the number of a symbol you've pasted in, so you can rebuild it with UNICHAR in formulas.

Syntax

=UNICODE(text) Explain

Arguments

ArgumentRequired?What it does
textYesThe text whose first character you want to identify.

Examples

Example 1 — Identify symbols

Find the numbers behind some pasted symbols.

B2fx=UNICODE(A2)
AB
1SymbolNumber
2€8364
3★9733
4A65
=UNICODE(A2) Explain

Common mistakes

  • Empty text. UNICODE("") returns #VALUE!.

Notes

  • For basic letters and digits UNICODE and CODE give the same number.
  • Related functions: UNICHAR, CODE.
Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.