A letter from its code
| A | |
|---|---|
| 1 | Code |
| 2 | 65 |
Formula: C2: =CHAR(A2)
Result: A
65 is the capital A in ASCII.
CHAR in Google Sheets accepts Unicode code points beyond 255, so CHAR(8364) returns the euro sign.
CHAR(number)Excel’s CHAR stops at 255, which is why Excel has the separate UNICHAR.
For a fuller explanation of the arguments and common errors, see the CHAR Excel guide.
| A | |
|---|---|
| 1 | Code |
| 2 | 65 |
Formula: C2: =CHAR(A2)
Result: A
65 is the capital A in ASCII.
| A | |
|---|---|
| 1 | Position |
| 2 | 5 |
Formula: C2: =CHAR(64+A2)
Result: E
Adding 64 maps 1 to A, 2 to B and so on, so 5 gives E.
| A | |
|---|---|
| 1 | Word |
| 2 | hi |
Formula: C2: ="He said "&CHAR(34)&A2&CHAR(34)
Result: He said "hi"
CHAR(34) is the double quote, which cannot be typed directly inside a quoted formula string.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in D2: =CHAR(65)
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Text | Other | Result | |
| 2 | Alice Johnson | alice johnson | A | |
| 3 | [email protected] | [email protected] | ||
| 4 | extra spaces | |||
| 5 | SKU-2026-0415 | |||
| 6 | iced coffee, tea, sugar | |||
| 7 | Order 417 shipped |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page