## Excel CHAR function

The Microsoft Excel CHARfunction returns the character specified by a number which from 1 to 255.

=CHAR (number)

#### Arguments

Number (Required): A number between 1 and 255, which you will return the character based on.

#### Return Value

Return a single character gets from a certain number.

#### Function Notes

1. The character comes from the character set used by your computer. The CHAR function will return different results for a specific number on different computers.
2. You will get the #VALUE! Error value when:

• The specific number is not between 1 to 255.
• The specific number is 0

#### Examples

This section is talking about how to use the CHAR function in Excel in detail.

##### Example 1: Get character represented by certain number in Excel cell

As the below screenshot shown, you need to return the corresponding character based on numbers in column B, please do as follows to get it done.

1. Select a blank cell, copy the below formula and press the Enter key.
=CHAR(B5)

2. And then drag the Fill Handle down to apply the formula to other cells.

##### Example 2: Include the CHAR function inside the formula

Supposing you want to insert line breaks into text in a cell as below screenshot shown, you can finish it with the CHAR function. Please do as follows to achieve it.

1. Select the cell you will insert line breaks with texts, copy the below formula into it and press the Enter key.
="Handy Excel add-ins:" & CHAR(10) & "Kutools for Excel" & CHAR(10) &"Office tab"

2. Then, you should format the cell as wrap text. Please select the result cell, click Wrap text under the Home tab.

Then you can see the input texts are wrapped by line breaks.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.