The formula returns the uppercase letter D, as CHAR(68) converts ASCII code 68 to its corresponding character in the ASCII table.
This happens because Excel’s CHAR function maps numeric codes to specific symbols in the ASCII standard. The number 68 is permanently assigned to capital D, just as 65-90 cover all uppercase letters sequentially. I use this trick often when building custom data separators or generating symbols not on my keyboard. ⚡
💡 In This Article
- How the CHAR Function Works in Excel
- Practical Uses for CHAR in Spreadsheets
How the CHAR Function Works in Excel
The CHAR function acts as a translator between numbers and text. It takes a numeric code from the ASCII table and returns the matching character. ASCII assigns each letter, number, and symbol a unique value, with 65-90 reserved for uppercase letters (A-Z) in order.
For example, 65 becomes A, 66 becomes B, and 68 becomes D. This system extends to lowercase letters (97-122), numbers (48-57), and punctuation. Excel’s implementation covers the full 0-255 range, which includes extended ASCII characters like currency symbols and accented letters. ⚡
What most people don’t realize is that CHAR can generate non-printable control characters too. Codes 0-31 represent actions like newline (10) or tab (9), which are invisible but functional in formulas. This makes CHAR powerful for formatting data outputs programmatically.
I’ve used this function to create dynamic separators in reports. By combining CHAR(10) for line breaks with CHAR(32) for spaces, I can format multi-line text within a single cell. The precision comes from knowing exactly which code produces which character. 💫
The limitation is that CHAR only accepts integers between 1-255. Anything outside this range returns a #VALUE! error. Also, the output depends on your system’s character encoding – most modern systems use ASCII-compatible encodings, but this can vary in specialized environments.
- PowerPoint: Fix “Couldn’t Write to Microsoft Word” Errors Permanently - October 14, 2026
- How to Edit a SharePoint Site: Customize Layouts Without Coding in Minutes - October 14, 2026
- Add Family Members to Xbox Game Pass: Seamless License Sharing for Your Household - October 14, 2026