Text
Excel 2013
◉ 26 views
=UNICODE()
Returns the number (code point) corresponding to the first character of the text.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=UNICODE(text)
Hover argument names in the table for details.
Output typeNumber
Popularity30 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =UNICODE() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
text |
Any type | Required | Text is the character for which you want the Unicode value. |
▣ Examples
Returns the unicode number that the space character (a single space inside quotation marks) represents (32).
=UNICODE(" ")
Result:
32
Returns the unicode number that the uppercase "B" represents (66).
=UNICODE("B")
Result:
66
§ Remarks
- If text contains partial surrogates or data types that are not valid, UNICODE returns the #VALUE! error value.
⚠ Common Errors
#VALUE!
If text contains partial surrogates or data types that are not valid, UNICODE returns the #VALUE! error value.
Fix: Check the input cell
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!