MS Excel: How to use the CHAR Function (WS)
This Excel tutorial explains how to use the Excel CHAR function with syntax and examples.
Description
The Microsoft Excel CHAR function returns the character based on the ASCII value.
The CHAR function is a built-in function in Excel that is categorized as a String/Text Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the CHAR function can be entered as part of a formula in a cell of a worksheet.
Syntax
The syntax for the CHAR function in Microsoft Excel is:
CHAR( ascii_value )
Parameters or Arguments
- ascii_value
- The ASCII value used to retrieve the character.
Returns
The CHAR function returns a string/text value.
Applies To
- Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel CHAR function examples and explore how to use the CHAR function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following CHAR examples would return:
=CHAR(A1) Result: "v" =CHAR(A2) Result: "@" =CHAR(72) Result: "H" =CHAR(109) Result: "m"
Advertisements