The CHAR Function in Excel returns a character when given a valid Character Code. CHAR Function is used to specify the characters that are difficult to enter in a formula in Excel. Now, let us study in detail the CHAR Function as given below.

  • What is a CHAR Function in Excel?
  • What is the formula for CHAR Function?
  • How to use CHAR Function?
  • What are the applications of CHAR Function?

➡ What is Char Function in Excel?

The CHAR is a built-in function and a sub-category of the String/Text Function in Excel. Also used as a worksheet function in Excel. The CHAR Function is used as part of a formula in a cell of an Excel worksheet.

CHAR Function translates code page numbers into actual characters. It is useful when you want to specify characters in formulas or functions that are difficult and certainly impossible to type directly.

➡  What is the Syntax for Char Function?

The Syntax to write CHAR Function –

=CHAR (number)


Number – A number between 1 and 255

The return value of CHAR Function is a single character specified by a number.

➡ How to use the Char Function?

Let’s have a look at the below example for CHAR Function and explore how to use this function as a worksheet function in Microsoft Excel.

➡ Example: 

We have a data table as shown in the below picture that holds certain numbers. Using the CHAR Function, we have to find out that these numbers are used as character codes for which of the characters.

Here, the first number is 50 and the output is 2 which means that number 50 is the character code for character 2.

Similarly, we also have number 68 whose output is D. This means that number 68 is the character code for the Uppercase letter D.

In this way, we can find out the characters using the numbers between 1 to 255.

Char Function in Excel

➡ What are the Applications of Char Function? 

Following are some of the applications of CHAR Function-

  1. You can use the CHAR Function along with the concatenation operator (&) to add a line break.
  2. To get the last word from a text string, you can use CHAR Function along with TRIM, SUBSTITUTE, RIGHT, and REPT Functions.
  3. To eliminate unwanted characters in Excel, you can use a formula using CHAR Function based on the Substitute Function.
  4. Creating a simple in-cell histogram, use a formula based on the REPT function and CHAR Function.
  5. While counting total lines in a cell, you can use a formula having LEN, SUBSTITUTE and CHAR Functions.

Recommended Blog:

➡ Top 3 Points to Remember:

  • CHAR(10) is adds a line break in a formula on Windows, and CHAR(13) adds a line break on the Mac
  • The number in CHAR Function can have the range only from 1 to 255
  • You will get a VALUE# error if you use the CHAR Function on negative or zero value

➡ Conclusion:

This function is a very useful function in Excel. It returns a character specified by a number. You can also combine this function with other functions as well. Hence it is proved that you can use the Char function along with the other function.

Leave a Reply

Related Tutorials

Connect to Data in Power Query
February 21, 2019
How to use Text to Column in Excel with 4 Difference Example
February 21, 2019
Things you should learn in Excel Course
February 13, 2019
How to use Clean Function in Excel
February 11, 2019
How to use the Excel Choose Function
February 11, 2019
How to use the Excel Code Function
February 11, 2019
How to use the Excel Column Function
February 11, 2019
How to use Ceiling Function in Excel
January 30, 2019
Text To Column in Excel | Split Cells
January 4, 2019
Pivot Tables (Complete Guidelines)
December 27, 2018
Power Bi Dax Deduplication Based On Column
December 17, 2018
Special Character Symbol List with Shortcodes in Excel
December 15, 2018
December 10, 2018
December 10, 2018
How to use ABS Function in Excel
December 10, 2018
How to use AND Function in Excel
December 10, 2018
Delete Duplicate in Excel or Remove Duplicate in Excel
November 9, 2018
Excel Formulas and Functions in PDF
September 6, 2018
How To Lock Cells in Excel | Unprotect Excel
August 13, 2018
4x Faster at Excel
August 6, 2018
Separate Content of One Excel Cells into Separate Columns
August 3, 2018
How to Transpose Excel Columns to Rows | Paste Special Method
July 26, 2018
How to create sparklines in Excel
July 19, 2018
AutoSum in Excel with Shortcut
July 17, 2018
OFFSET Function in Excel
July 6, 2018