ID EN
#Text

UNICHAR

Excel Functions 🇮🇩 Bahasa Indonesia

Dapatkan karakter Unicode berdasarkan nomor

Syntax

EXCEL
=UNICHAR(number)

Arguments

Parameter Deskripsi
number Code point for a Unicode character in decimal.

Return Value

Karakter Unicode

Details

Fungsi UNICHAR mengembalikan karakter Unicode pada titik kode tertentu, diberikan sebagai angka dalam format desimal. Sebagai ilustrasi, simbol Euro (€) memiliki titik kode 8364 dalam notasi desimal. Rumus berikut akan mengembalikan karakter Euro: Unicode memberikan setiap karakter nilai numerik dan nama yang unik. Nilai numerik ini disebut sebagai "titik kode". Poin kode biasanya diwakili oleh notasi "U+" diikuti dengan angka heksadesimal. Misalnya, titik kode untuk huruf kapital A adalah U+0041, dan titik kode untuk emoji "😊" adalah U+1F60A. Penting untuk dipahami bahwa fungsi UNICHAR tidak menerima angka Unicode dalam format heksadesimal, melainkan memerlukan angka dalam format desimal. Dalam representasi desimal, titik kode untuk "A" adalah 65, dan titik kode fo

Contoh

Example 1

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

EXCEL
=UNICHAR(8364) // returns euro sign "€"
Unicode numbers

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

EXCEL
=UNICHAR(65) // returns "A"
=UNICHAR(128522) // returns "😊"
Unicode numbers

In Excel, you can use the HEX2DEC function to translate numbers from hexadecimal to decimal if needed.

EXCEL
=UNICHAR(HEX2DEC("1F642")) // returns "🙂"
Examples

The Unicode character "★" is code point 9733 in decimal notation, therefore:

EXCEL
=UNICHAR(9733) // returns "★"
Examples

To display a different character, change the number to match the symbol you want:

EXCEL
=UNICHAR(10003) // returns "✓"
=UNICHAR(10007) // returns "✗"
=UNICHAR(128578) // returns "😊"
UNICHAR in a formula

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

EXCEL
=IF(C5="complete",UNICHAR(10003),"")

See Also

UNICHAR CHAR UNICODE CODE