Function · Convert text and numbers

Excel UNICHAR function

The Excel UNICHAR function returns the Unicode character for a number. UNICHAR(10003) is a check mark, and UNICHAR(8593) is an up arrow.

Excel 2013 and later, including Microsoft 365 and Excel for the web. Not in Excel 2010. Also in Google Sheets.

Syntax =UNICHAR(number)

UNICHAR
=UNICHAR(10003)

Arguments

NameRequiredWhat to pass
numberRequiredThe Unicode code point as a decimal number, from 1 through 1114111. 10003 is a check mark and 65 is A. A hex code point such as 2713 goes through HEX2DEC first. A fraction is cut down to the integer, so 65.9 is A. 0 and numbers past 1114111 are #VALUE!. A lone surrogate code, 55296 through 57343, is #N/A. Text that is not a number is #VALUE!.

Examples

A check mark for a Yes

=IF(B2="Yes",UNICHAR(10003),UNICHAR(10007))

Result ✓

An up or down arrow next to a change

=IF(1450>1200,UNICHAR(9650),UNICHAR(9660))&" "&TEXT(1450/1200-1,"0.0%")

Result ▲ 20.8%

Bullets and a star rating

=REPT(UNICHAR(9733),4)&REPT(UNICHAR(9734),1)

Result ★★★★☆

Symbols, and the UNICODE round trip

=72&UNICHAR(176)&"F"

Result 72°F

=IF(B2="Yes",UNICHAR(10003),UNICHAR(10007))C2
Punch list
ABC
1TaskDoneMark
2PaintYes✓
3TileNo✗
4TrimYes✓
A picture of the sheet, not a live calculator. Column B is typed Yes or No. Column C turns it into a check mark or an X with UNICHAR.

UNICHAR returns the character for a Unicode code point. =UNICHAR(10003) is a check mark, ✓. =UNICHAR(65) is A, the same as =CHAR(65), and =UNICHAR(65)=CHAR(65) is TRUE. The number is decimal. Unicode charts list code points in hex, such as U+2713 for ✓, so =UNICHAR(HEX2DEC("2713")) is ✓ too.

Check marks turn a Yes or No column into something you can scan. =IF(B2="Yes",UNICHAR(10003),UNICHAR(10007)) is ✓ for Yes and ✗ for No. The heavier marks are UNICHAR(10004), ✔, and UNICHAR(10008), ✘. An empty ballot box is UNICHAR(9744), ☐, and a checked box is UNICHAR(9745), ☑. The result is text, so COUNTIF with UNICHAR(10003) as the criteria counts the ✓ cells.

Arrows show direction next to a number. Sales were $1,200 last month and $1,450 this month. =IF(C2>B2,UNICHAR(9650),UNICHAR(9660))&" "&TEXT(C2/B2-1,"0.0%") is ▲ 20.8%. A drop to $900 is ▼ -25.0%. IF picks the arrow and TEXT formats the change. The thin arrows are UNICHAR(8593), ↑, UNICHAR(8595), ↓, and UNICHAR(8594), →.

UNICHAR(8226) is the bullet •. =UNICHAR(8226)&" "&"Paint" is • Paint. TEXTJOIN with UNICHAR(10) as the delimiter stacks bulleted items on separate lines of one cell, once wrap text is on. UNICHAR(10) is the same line break as CHAR(10), and =LEN("Paint"&UNICHAR(10)&"Tile") is 10. REPT repeats a symbol, so =REPT(UNICHAR(9733),4)&REPT(UNICHAR(9734),1) is a four-of-five star rating, ★★★★☆. CONCAT and the & operator join symbols to any other text.

Symbols that are awkward to type are one formula away. =72&UNICHAR(176)&"F" is 72°F. UNICHAR(169) is ©, UNICHAR(174) is ®, UNICHAR(8482) is ™, UNICHAR(162) is ¢, UNICHAR(163) is £, and UNICHAR(8364) is €. UNICODE goes the other way and returns the code point of the first character. =UNICODE(UNICHAR(10003)) is 10003, and =UNICODE("Apple") is 65. =DEC2HEX(UNICODE(UNICHAR(10003))) is 2713, the hex code you would search for in a chart.

CHAR only takes 1 through 255, and codes 128 through 255 depend on the system’s character set. =CHAR(10003) is #VALUE!. UNICHAR covers every code point from 1 through 1114111, and UNICHAR(169) is © on every system. CODE is the reverse of CHAR, and UNICODE is the reverse of UNICHAR. A fraction is cut down, so =UNICHAR(65.9) is A.

Microsoft documents three errors. =UNICHAR(0) is #VALUE!. A number past 1114111, the last code point, is #VALUE!, and so is text such as =UNICHAR("abc"). A lone surrogate code from 55296 through 57343 is #N/A. When a symbol shows as an empty box, the cell’s font has no glyph for it. Switch the font, such as Segoe UI Symbol on Windows.

UNICHAR is in Excel 2013 and later, including Excel 365, 2024, 2021, 2019, and 2016, Excel for the web, and Excel for Mac 2016 and later. Excel 2010 shows #NAME?. Google Sheets has UNICHAR too. Web pages and PDFs often carry the nonbreaking space, code point 160. SUBSTITUTE swaps it for an ordinary space, and xl.collapse.space does that and trims the result in one call.

The Habit Tracker logs Casey Nguyen’s four habits as Yes or No from 01/01/2027 through 03/12/2027, and 163 of 284 marks are Yes, 57.4%. The same IF and UNICHAR formula from this page can show those Yes cells as ✓ in a helper column. COUNTIFS in that file keeps counting the typed Yes.