Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

Excel CHAR function

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


Syntax

=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.


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300 Advanced Features Help You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.

Screen Shot of Excel (with Office Tab installed)

Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Office Tab Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.