UNICHAR
Returns the Unicode character for a given code point.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=UNICHAR(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | any | Required | — |
Remarks
- Input is truncated to an integer code point.
- Errors are propagated unchanged.
- Non-numeric inputs are coerced with numeric coercion rules.
Error cases
- Code point
0, surrogate range, and values above0x10FFFFreturn#VALUE!.
Examples
Return the character at the numeric code for the letter A.
Formula =UNICHAR(65)
Expected result A
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Compare the character at the numeric code for the letter a.
Formula =UNICHAR(97)
Expected result a
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Return the space character at code 32.
Formula =UNICHAR(32)
Expected result
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Code zero is outside the supported input range.
Formula =UNICHAR(0)
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Basic Unicode code point
Formula =UNICHAR(9731)
Expected result ☃
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Which code points are invalid?
0, surrogate values, and anything above 0x10FFFF return #VALUE!.