Loncat ke daftar isi utama

Bagaimana cara memeriksa apakah berbagai sel kosong atau kosong di Excel?

Artikel ini membahas tentang memeriksa apakah rentang sel kosong atau tidak di Excel.

Periksa apakah rentang sel kosong dengan rumus


Periksa apakah rentang sel kosong dengan rumus

Rumus di bawah ini dapat membantu Anda memeriksa apakah rentang sel kosong atau tidak di Excel. Silakan lakukan sebagai berikut.

1. Pilih sel kosong, masukkan rumus = SUMPRODUCT (- (G1: K8 <> "")) = 0 ke dalam bilah rumus, lalu tekan Enter kunci. Lihat tangkapan layar:

Catatan:

1. Dalam rumus, G1: K8 adalah kisaran yang akan Anda periksa apakah kosong atau tidak. Harap ubah sesuai kebutuhan Anda.

2. Jika semua sel dalam rentang yang ditentukan kosong, Anda akan mendapatkan hasil TRUE, jika tidak, Anda akan mendapatkan FALSE.


Artikel terkait:

Alat Produktivitas Kantor Terbaik

Fitur Populer: Temukan, Sorot, atau Identifikasi Duplikat   |  Hapus Baris Kosong   |  Gabungkan Kolom atau Sel tanpa Kehilangan Data   |   Putaran tanpa Formula ...
Pencarian Super: VLookup Beberapa Kriteria    VLookup Nilai Berganda  |   VLookup di Beberapa Lembar   |   Pencarian Fuzzy ....
Daftar Drop-down Lanjutan: Buat Daftar Drop Down dengan Cepat   |  Daftar Drop Down yang Bergantung   |  Multi-pilih Drop Down List ....
Manajer Kolom: Tambahkan Jumlah Kolom Tertentu  |  Pindahkan Kolom  |  Alihkan Status Visibilitas Kolom Tersembunyi  |  Bandingkan Rentang & Kolom ...
Fitur Unggulan: Fokus Kisi   |  Tampilan Desain   |   Bar Formula Besar    Manajer Buku Kerja & Lembar   |  Perpustakaan Sumberdaya (Teks otomatis)   |  Pemetik tanggal   |  Gabungkan Lembar Kerja   |  Enkripsi/Dekripsi Sel    Kirim Email berdasarkan Daftar   |  Filter Super   |   Filter Khusus (filter tebal/miring/coret...) ...
15 Perangkat Teratas12 Teks Tools (Tambahkan Teks, Hapus Karakter, ...)   |   50 + Grafik jenis (Gantt Chart, ...)   |   40+ Praktis Rumus (Hitung usia berdasarkan ulang tahun, ...)   |   19 Insersi Tools (Masukkan Kode QR, Sisipkan Gambar dari Jalur, ...)   |   12 Konversi Tools (Angka ke Kata, Konversi Mata Uang, ...)   |   7 Gabungkan & Pisahkan Tools (Lanjutan Gabungkan Baris, Pisahkan Sel, ...)   |   ... dan banyak lagi

Tingkatkan Keterampilan Excel Anda dengan Kutools for Excel, dan Rasakan Efisiensi yang Belum Pernah Ada Sebelumnya. Kutools for Excel Menawarkan Lebih dari 300 Fitur Canggih untuk Meningkatkan Produktivitas dan Menghemat Waktu.  Klik Di Sini untuk Mendapatkan Fitur yang Paling Anda Butuhkan...

tab kte 201905


Office Tab Menghadirkan antarmuka Tab ke Office, dan Membuat Pekerjaan Anda Lebih Mudah

  • Aktifkan pengeditan dan pembacaan tab di Word, Excel, PowerPoint, Publisher, Access, Visio, dan Project.
  • Buka dan buat banyak dokumen di tab baru di jendela yang sama, bukan di jendela baru.
  • Meningkatkan produktivitas Anda sebesar 50%, dan mengurangi ratusan klik mouse untuk Anda setiap hari!
Comments (8)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hello, what if you have multiple ranges to include in the formula? i.e. A2:D2 and M2:P2, When I add in the 2nd range the formula does not work...
This comment was minimized by the moderator on the site
Hi Nicholas Haughn,

The following formula can help you. Please give it a try. Thank you.
=IF(AND(SUMPRODUCT(--(A2:D2<>""))=0, SUMPRODUCT(--(M2:P2<>""))=0),"Empty","has value")
This comment was minimized by the moderator on the site
Hola,
Me gustaría cambia los resultados de VERDADERO/FALSO por otras palabras, es posible?
muchas gracias
This comment was minimized by the moderator on the site
Hi Paula,
If you want to display a specific result other than TRUE or FALSE, please enclose the formula in an IF function. Such as:
=IF(SUMPRODUCT(--(G1:K8<>""))=0, "Yes", "No")
This comment was minimized by the moderator on the site
Muchísimas gracias!!
Rated 5 out of 5
This comment was minimized by the moderator on the site
Hi

Thanks for this. It is what I needed. I am curious what is the significance of the '--' in the formula?
This comment was minimized by the moderator on the site
Hi Joe Shaer,
The double dash is used for converting a list of boolean (TRUE, FALSE) values to ZEROs and ONEs, which is a useful technique in many advanced formulas that work with cell ranges.
This comment was minimized by the moderator on the site
Thanks for this formula. 😊

To make it even more complete I would recommend to use the trim function on the range to eliminate white spaces too:
=SUMPRODUCT(--(TRIM(G1:K8)<>""))=0

Cheers, Dirk
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations