# UNICODE Function

> Return the Unicode code point of the first character of text with UNICODE in TX Sheet Control: emoji and other characters beyond the BMP, errors and an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > UNICODE Function
- **192 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unicode/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unicode/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unicode/llms-full.txt

---

Return the Unicode code point of the first character of text. Characters outside the Basic Multilingual Plane, such as emoji, return their full code point. Empty text returns `#VALUE!`. UNICODE is the inverse of [UNICHAR](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unichar/llms-full.txt).

### Syntax

```text
UNICODE(text)
```

Category: Text. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

### Examples

```text
=UNICODE("😀")
```

The formula returns 128512, the code point of the emoji.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [UNICHAR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unichar/llms-full.txt)
- **Next:** [UNIQUE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/unique/llms-full.txt)
