ID EN
#Information

CELL

Excel Functions 🇮🇩 Bahasa Indonesia

Dapatkan informasi tentang sel

Syntax

EXCEL
=CELL(info_type, [reference])

Arguments

Parameter Deskripsi
info_type The type of information to return about the reference.
reference [optional] The reference from which to extract information.

Return Value

Nilai teks

Details

Gunakan fungsi CELL untuk mengembalikan berbagai informasi tentang referensi. Tipe informasi yang dikembalikan diberikan asinfo_type, yang harus diapit tanda kutip ganda (""). CELL bisa mengembalikan alamat sel, nama file dan jalur untuk buku kerja, serta informasi tentang pemformatan yang digunakan dalam sel. Lihat di bawah untuk daftar lengkap jenis info dan kode format. Fungsi CELL membutuhkan dua argumen: info_type dan referensi. Info_type adalah string teks yang menunjukkan jenis informasi yang diminta. Lihat tabel di bawah untuk daftar lengkap jenis info. Referensi adalah referensi sel. Referensi biasanya berupa satu sel. Jika referensi mengacu pada lebih dari satu sel, CELL mengembalikan informasi tentang sel pertama dalam referensi. Untuk jenis informasi tertentu (seperti nama file), alamat sel yang digunakan

Contoh

Examples

For example, to get the column number for C10:

EXCEL
=CELL("col", C10) // returns 3
Examples

To get the address of A1 as text:

EXCEL
=CELL("address",A1) // returns "$A$1"
Examples

To get the full path and workbook name for the current worksheet:

EXCEL
=CELL("filename",A1) // path + filename
Examples

CELL can also return format code information. For example, if A1 contains the number 100 with the currency number format applied, the CELL function wi

EXCEL
=CELL("format",A1) // returns "C2"
Examples

When requesting the info_type "format" or "parentheses", a set of empty parentheses "()" is appended to the format returned if the number format uses

EXCEL
=CELL("format",A1) // returns "F0()"

See Also

ADDRESS INFO