How to Use the CHAR Function in Excel

Today, we’ll explore a handy function in Excel and Google Sheets known as CHAR. This function is used to return the character associated with a specific numeric code. It’s particularly useful for inserting special characters into your spreadsheet that aren’t typically found on a keyboard.

Basic Syntax:

The syntax for the CHAR function is consistent across both Excel and Google Sheets:

=CHAR(number)
  • number: The numeric code corresponding to the character you wish to display.

Example 1: Inserting Special Characters

At times, you might need to add special characters to your spreadsheets. The CHAR function facilitates this seamlessly. For example:

Character Formula Result
@ =CHAR(64) @
£ =CHAR(163) £
¥ =CHAR(165) ¥

Example 2: Creating Custom Codes

The CHAR function is also invaluable for creating custom codes or identifiers that combine characters and numbers.

Consider the task of generating a student ID where the first letter signifies the department, followed by a unique numeric identifier:

Department Student ID Formula Result
Math 001 =CHAR(77)&”001″ M001
History 023 =CHAR(72)&”023″ H023

The examples provided demonstrate the versatility and practicality of the CHAR function in both Excel and Google Sheets. You are encouraged to try out various numeric codes to generate different characters, referencing the ASCII table for guidance.

More information: https://support.microsoft.com/en-us/office/char-function-bbd249c8-b36e-4a91-8017-1c133f9b837a

Other functions
Returns an array of text values from any specified range
Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters
Converts a number to text, using the ß (baht) currency format
Removes all nonprintable characters from text
Returns a numeric code for the first character in a text string
Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments
Joins several text items into one text item
Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters
Converts a number to text, using the $ (dollar) currency format
Checks to see if two text values are identical
Finds one text value within another (case-sensitive)
Formats a number as text with a fixed number of decimals
Changes half-width (single-byte) characters within a string to full-width (double-byte) characters
Returns the leftmost characters from a text value
Returns the number of characters in a text string
Converts text to lowercase
Returns a specific number of characters from a text string starting at the position you specify
Converts text to number in a locale-independent manner
Extracts the phonetic (furigana) characters from a text string
Capitalizes the first letter in each word of a text value
Replaces characters within text
Repeats text a given number of times
Returns the rightmost characters from a text value
Finds one text value within another (not case-sensitive)
Substitutes new text for old text in a text string
Converts its arguments to text
Formats a number and converts it to text
Combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined If the delimiter is an empty text string, this function will effectively concatenate the ranges
Removes spaces from text
Returns the Unicode character that is references by the given numeric value
Returns the number (code point) that corresponds to the first character of the text
Converts text to uppercase
Converts a text argument to a number
Returns text from any specified value