ID EN
#Information

ISBLANK

Excel Functions 🇮🇩 Bahasa Indonesia

Uji apakah sel kosong

Syntax

EXCEL
=ISBLANK(value)

Arguments

Parameter Deskripsi
value The value to check.

Return Value

Nilai logis (TRUE atau FALSE)

Details

Fungsi ISBLANK merupakan fungsi sederhana untuk menguji apakah suatu sel kosong atau tidak. Jika sel kosong, ISBLANK mengembalikan TRUE. Jika sel berisi nilai apa pun, ISBLANK mengembalikan FALSE. Fungsi ISBLANK mengambil satu argumen, nilai, yang merupakan referensi sel seperti A1. Misalnya, jika sel A1 tidak berisi apa pun, fungsi ISBLANK akan mengembalikan TRUE: Jika sel A1 berisi nilai atau rumus apa pun, fungsi ISBLANK akan mengembalikan FALSE: Berikut beberapa hal yang harus Anda ketahui tentang fungsi ISBLANK: Pada lembar kerja di bawah ini, fungsi ISBLANK digunakan untuk menguji apakah sel di kolom B kosong. Rumus di sel C5 adalah: Saat rumus disalin, ia mengembalikan TRUE jika sel terkait di kolom B kosong dan FALSE jika tidak. Perhatikan hasilnya di sel C8 adalah FALSE padahal sel B8 terlihat kosong. Namun

Contoh

Example 1

The ISBLANK function is a simple function to test if a cell is empty or not. If a cell is empty, ISBLANK returns TRUE. If a cell contains any value, I

EXCEL
=ISBLANK(A1) // returns TRUE
Example 2

If cell A1 contains any value or any formula, the ISBLANK function will return FALSE:

EXCEL
=ISBLANK(A1) // returns false
Example - test if cells are empty

In the worksheet below, the ISBLANK function is used to test if cells in column B are empty. The formula in cell C5 is:

EXCEL
=ISBLANK(B5)
Example - Is not empty

To reverse the logic and test for cells that are not blank (not empty) you can nest ISBLANK inside the NOT function like this:

EXCEL
=NOT(ISBLANK(A1)) // test not blank
Example - Is not empty

You can see this approach in the worksheet below. The formula in cell C5 is:

EXCEL
=NOT(ISBLANK(B5))
Example - If a date is blank

A classic example of the ISBLANK function is to test if a cell is empty and display a custom message if so. The worksheet below contains a list of tas

EXCEL
=IF(ISBLANK(D5),"Open","")

See Also

ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER