CHAR Function in Excel: Character From a Code (Line Breaks, Symbols)

CHAR Function in Excel: Character From a Code (Line Breaks, Symbols) featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

TextLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. CHAR in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

CHAR returns the character for a code number. CHAR(10) is a line break β€” the key to multi-line cells built by formula. CODE does the reverse.

Advertisement

Syntax

=CHAR(number)
Argument What it means
number 1–255.

Examples

Example 1

=A2 & CHAR(10) & B2

Name and address on two lines (turn on Wrap Text).

Example 2

=CODE(LEFT(A2))

Find what the β€œinvisible” first character really is.

CHAR in practice

Where you will use it

  • Insert a line break inside a cell with CHAR(10)
  • Add bullets or symbols to labels
  • Build quotes inside formulas

Worked example

CodeFormulaResult
65=CHAR(A2)A
97=CHAR(A3)a
36=CHAR(A4)$

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
CHAR(10) shows nothingTurn on Wrap Text for the cell
Codes above 255Use UNICHAR for emoji and Indian scripts

CLEAN Β· UNICHAR Β· CODE

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Text & cleaning24 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong