How to Convert Excel ASCII to Char

American Standard Code for Information Interchange (ASCII) is a character encoding standard for electronic devices. In its 7-bit version, it supports characters denoted by numbers 1-127 in Excel.

Excel ASCII to Char-ASCII Table

 

ASCII Table

The ASCII table depicts the characters against ASCII codes. These codes can be used in formulas to insert characters. The characters include digits 0-9, lowercase alphabets a-z, uppercase alphabets A-Z, and punctuation.They are divided into Non-printable Control Characters (first 31 characters) and Printable Characters.

Excel ASCII to Char-ASCII Table

Read More: Character Codes for CHAR Function in Excel


How to Convert Excel ASCII to Char: Using of CHAR Function

The CHAR function takes a number and returns a single character. For extended versions of ASCII or ANSI it supports 1-255 numbers. The syntax of the CHAR function is:

CHAR (number)
  • Use the below formula in a cell to convert ASCII to character. 
=CHAR(B4)

ASCII to Char

  • The CODE function converts the characters into ASCII codes or numbers.

The VBA Asc function returns the same output as the CODE function in Excel VBA.

⧭ Note: The modern Unicode system supports universal characters. Excel also has functions for this type of characters: UNICHAR and UNICODE.

Read More: How to Use Code 9 with Excel CHAR Function


Things to Remember

  • The Excel CHAR function returns #VALUE error when:
    • the number is not between 1-255
    • 0 is assigned to the argument.
  • The outcome of the function is String/Text.
  • For numbers greater than 255, use the UNICHAR function.

Download Excel Workbook

Download the workbook.


 

Related Articles


<< Go Back to Excel CHAR Function | Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Maruf Islam
Maruf Islam

MARUF ISLAM is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including ABACUS, AutoCAD, Rhinoceros, Maxsurf, and Hydromax. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role, he creates techy content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo