The UNICHAR function in Google Sheets is a powerful tool for retrieving Unicode characters based on their numeric values. This function is particularly useful for inserting special characters, symbols, or emojis into your spreadsheets by simply specifying their Unicode values. By utilizing UNICHAR, users can enhance the visual clarity and expressiveness of their data presentations.
Syntax
UNICHAR(number)
- number: A numeric value that corresponds to a specific Unicode character.
Example #1
UNICHAR(9731)
This function call retrieves the Unicode character for the snowflake symbol (❄️). The result will be ❄️ when the function is executed.
Example #2
UNICHAR(128512)
Here, this function call returns the Unicode character for the grinning face emoji (😀). The result will be 😀 in the cell.
Example #3
UNICHAR(8364)
This retrieves the Unicode character for the Euro sign (€). The result displayed will be € in the spreadsheet.
Error handling
- VALUE!: This error occurs if the argument provided is not a valid numeric value representing a Unicode character.
- NUM!: This error shows up if the number given is outside the valid Unicode range (e.g., negative numbers or numbers greater than 1114111).