Dapatkan karakter Unicode berdasarkan nomor
=UNICHAR(number)
| Parameter | Deskripsi |
|---|---|
number |
Code point for a Unicode character in decimal. |
The UNICHAR function returns the Unicode character at a given code point, provided as a number in decimal format. To illustrate, the Euro symbol (€) h
=UNICHAR(8364) // returns euro sign "€"
Unicode assigns each character a unique numeric value and name. This numeric value is referred to as a "code point". Code points are typically represe
=UNICHAR(65) // returns "A"
=UNICHAR(128522) // returns "😊"
In Excel, you can use the HEX2DEC function to translate numbers from hexadecimal to decimal if needed.
=UNICHAR(HEX2DEC("1F642")) // returns "🙂"
The Unicode character "★" is code point 9733 in decimal notation, therefore:
=UNICHAR(9733) // returns "★"
To display a different character, change the number to match the symbol you want:
=UNICHAR(10003) // returns "✓"
=UNICHAR(10007) // returns "✗"
=UNICHAR(128578) // returns "😊"
The UNICHAR function offers a straightforward way to display a Unicode symbol in a formula. The formula below uses UNICHAR inside the IF function to d
=IF(C5="complete",UNICHAR(10003),"")