UNICODE function
the number (code point) that corresponds to the first character of the text.
Text · Excel 2013+
Where can you use it?
Data preparation and reporting teams. Use this group to clean, split or reformat IDs, names and descriptions before using them in reports.
Scenario in the workbook
Read the Unicode code point of an imported symbol. Only the first character is inspected.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | A |
| 8 | ★ |
| 9 | € |
Record 1
=UNICODE(A7)Expected result65
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=UNICODE("A")Turkish Excel · tr-TR
=UNICODE("A")Expected result
65
Worked examples
Read the Unicode code point of an imported symbol. Only the first character is inspected.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Input |
| 7 | A |
| 8 | ★ |
| 9 | € |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =UNICODE(A7) |
65 |
| Record 2 | =UNICODE(A8) |
9733 |
| Record 3 | =UNICODE(A9) |
8364 |