Text function

UNICHAR function

Returns the Unicode character for a code number, e.g. UNICHAR(8364) = €. Gives access to arrows, symbols and all alphabets.

Available in Excel 2013 and later, Microsoft 365, Excel for the web

Excel 2013 and laterWorks in Google Sheets

Syntax

UNICHAR(number)
ArgumentWhat it means
numberRequiredA Unicode code point (decimal), from 1 to 1,114,111.

Returns: The character as text.

How UNICHAR works

UNICHAR is the modern, worldwide version of CHAR. CHAR only knows 255 characters from the old Windows code page; UNICHAR knows every character in Unicode - currency signs, arrows, check marks, stars, box-drawing blocks, Greek, Cyrillic, Arabic, CJK and emoji. Give it the decimal code point and it returns the character, identical on Windows, Mac and the web.

Common codes worth remembering: 8364 €, 163 £, 10003 ✓, 10007 ✗, 9650 ▲, 9660 ▼, 9733 ★, 9608 █, 8226 •. Code points are often listed in hexadecimal (U+2713); convert them with HEX2DEC, e.g. =UNICHAR(HEX2DEC("2713")).

Whether a symbol shows properly depends on the font: if you see an empty box, change the cell font to one that includes the character (Segoe UI Symbol on Windows covers most).

Examples

1Euro sign that works everywhere

B2fx=UNICHAR(8364)&TEXT(A2,"0.00")
AB
1Price
249€49.00

Result: €49.00

UNICHAR(8364) is the euro sign on every platform, unlike CHAR(128), which depends on the code page.

2Trend arrow for a report

D2fx=IF(C2>B2,UNICHAR(9650),UNICHAR(9660))
ABCD
1ProductLast monthThis month
2Desk Lamp320365▲

Result: ▲

Sales went up, so the up-pointing triangle (9650) is shown. Colour it green with conditional formatting.

3Check mark for completed tasks

C2fx=IF(B2,UNICHAR(10003),"")
ABC
1TaskDone?
2Send invoicesTRUE✓

Result: ✓

When the Done column is TRUE a check mark appears.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!The number is 0, negative or larger than the highest Unicode code point.Use a valid Unicode code point.
#N/AThe number falls in a range that is not a usable character on its own, such as the surrogate codes 55296-57343.Check the code in a Unicode table.

Tips

  • Use UNICODE on a pasted symbol to find its number.
  • =REPT(UNICHAR(9608),B2/10) builds solid in-cell bar charts.

Google Sheets

UNICHAR also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

UNICHAR in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DutchUNITEKEN
FinnishUNICODEMERKKI
FrenchUNICAR
GermanUNIZEICHEN
HungarianUNIKARAKTER
ItalianCARATT.UNI
Norwegian (Bokmål)UNICODETEGN
PolishZNAK.UNICODE
Portuguese (Brazil)CARACTUNICODE
Portuguese (Portugal)UNICARÁT
RussianЮНИСИМВ
SpanishUNICAR
SwedishUNITECKENKOD
TurkishUNICODEKARAKTERİ

Recipes that use UNICHAR