Loncat ke daftar isi utama

Bagaimana cara membuat kotak pencarian Anda sendiri di Excel?

Selain menggunakan fungsi Find di Excel, sebenarnya Anda dapat membuat kotak pencarian sendiri untuk mencari nilai yang dibutuhkan dengan mudah. Artikel ini akan menunjukkan kepada Anda dua metode untuk membuat kotak pencarian Anda sendiri di Excel secara detail.

Buat kotak pencarian Anda sendiri dengan Conditional Formatting untuk menyorot semua hasil pencarian
Buat kotak pencarian Anda sendiri dengan rumus untuk mendaftar semua hasil pencarian


Buat kotak pencarian Anda sendiri dengan Conditional Formatting untuk menyorot semua hasil pencarian

Anda dapat melakukan hal berikut untuk membuat kotak pencarian Anda sendiri dengan menggunakan fungsi Pemformatan Bersyarat di Excel.

1. Pilih kisaran dengan data yang Anda butuhkan untuk mencari dengan kotak pencarian, lalu klik Format Bersyarat > Aturan baru bawah Beranda tab. Lihat tangkapan layar:

2. Dalam Aturan Pemformatan Baru kotak dialog, Anda perlu:

2.1) Pilih Gunakan rumus untuk menentukan sel mana yang akan diformat pilihan dalam Pilih Jenis Aturan kotak;

2.2) Masukkan rumus = ISNUMBER (CARI ($ B $ 2, A5)) ke dalam Memformat nilai yang rumus ini benar kotak;

2.3) Klik dibentuk tombol untuk menentukan warna yang disorot untuk nilai yang dicari;

2.4) Klik OK .

Catatan:

1. Dalam rumusnya, $ B $ 2 adalah sel kosong yang Anda perlukan untuk menggunakannya sebagai kotak pencarian, dan A5 adalah sel pertama dari rentang yang Anda pilih yang Anda perlukan untuk mencari nilai di dalamnya. Harap ubah sesuai kebutuhan Anda.

2. Rumusnya tidak peka huruf besar / kecil.

Sekarang kotak pencarian dibuat, saat mengetik kriteria pencarian ke dalam kotak pencarian B2 dan tekan tombol Enter, semua nilai yang cocok dalam kisaran yang ditentukan dicari dan disorot segera seperti gambar di bawah ini.


Buat kotak pencarian Anda sendiri dengan rumus untuk mendaftar semua hasil pencarian

Misalkan Anda memiliki daftar data yang terletak di kisaran E4: E23 yang perlu Anda cari, jika Anda ingin mencantumkan semua nilai yang cocok di kolom lain setelah mencari dengan kotak pencarian Anda sendiri, Anda dapat mencoba metode di bawah ini.

1. Pilih sel kosong yang berdekatan dengan sel E4, disini saya pilih sel D4, lalu masukkan rumus = IFERROR (SEARCH ($ B $ 2, E4) + ROW () / 100000, "") ke dalam bilah rumus, lalu tekan Enter kunci. Lihat tangkapan layar:

Note: Dalam rumusnya, $ B $ 2 adalah sel yang Anda perlukan untuk menggunakannya sebagai kotak pencarian, E4 adalah sel pertama dari daftar data yang perlu Anda cari. Anda dapat mengubahnya sesuai kebutuhan.

2. Tetap pilih sel E4, lalu seret Fill Handle ke bawah ke sel D23. Lihat tangkapan layar:

3. Sekarang pilih sel C4, masukkan rumus = IFERROR (PERINGKAT (D4, $ D $ 4: $ D $ 23,1), "") ke Formula Bar, dan tekan Enter kunci. Pilih sel C4, lalu seret Fill Handle ke C23. Lihat tangkapan layar:

4. Sekarang Anda perlu mengisi rentang A4: A23 dengan nomor seri yang meningkat 1 dari 1 menjadi 20 seperti gambar di bawah ini:

5. Pilih sel kosong yang Anda perlukan untuk menampilkan hasil pencarian, masukkan rumus = IFERROR (VLOOKUP (A4, $ C $ 4: $ E $ 23,3, FALSE), "") ke dalam Formula Bar dan tekan Enter kunci. Tetap pilih sel B4, seret Fill Handle ke B23 seperti gambar di bawah ini.

Mulai sekarang, saat memasukkan data di kotak pencarian B2, semua nilai yang cocok akan terdaftar dalam kisaran B4: B23 seperti gambar di bawah ini.

Note: metode ini tidak peka huruf besar / kecil.

Alat Produktivitas Kantor Terbaik

馃 Kutools AI Ajudan: Merevolusi analisis data berdasarkan: Eksekusi Cerdas   |  Hasilkan Kode  |  Buat Rumus Khusus  |  Analisis Data dan Hasilkan Grafik  |  Aktifkan Fungsi Kutools...
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 Lanjutan untuk Meningkatkan Produktivitas dan Menghemat Waktu.  Klik Di Sini untuk Mendapatkan Fitur yang Paling Anda Butuhkan...

Deskripsi Produk


Tab Office Membawa antarmuka Tab ke Office, dan Membuat Pekerjaan Anda Jauh 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 (29)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
me pueden apoyar en cual es la formula para solo buscar
porfa
This comment was minimized by the moderator on the site
Hi, for the second part: "Create Your Own Search Box With Formulas To List All Searched Results", it doesn't say what to do with the search box, my search box has no formula in it. I am trying to do it with multiple columns as well, does it work too?
This comment was minimized by the moderator on the site
Insert data from example. Copy formula in indicated cell, but delete space from formula. Easy!
This comment was minimized by the moderator on the site
i have tried using this but is dose not wont to highlight the box I am searching for why is this
This comment was minimized by the moderator on the site
Can you create a formula that captures two cells worth of information in retrospect i am using a set up that captures user names and badge data so i need it to when it filters that it carries both cells of information not just one
This comment was minimized by the moderator on the site
hi! I used the basic highlight search bar, but am having a couple of issues. it is predicting my search and finding it with no issues... however, it always highlights the cell a couple below or above the searched one. Are you able to help me with this please?
This comment was minimized by the moderator on the site
Hi! Is this applicable to Google Sheets? I'm trying to make a search box with formulas to list all searched results. I followed every steps listed above but the results shows nothing. There is an error tho, it says "change Iterative calculation". But whatever I do, it doesn't show anything - just blank. Can you help me with this, please... Thank you!
This comment was minimized by the moderator on the site
Good day,
This is only applicable to Microsoft Excel application. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
Hi! Is this applicable to Google Sheets? I'm trying to make a search box with formulas to list all searched results. I followed every steps listed above but the results shows nothing. There is an error tho, it says "change Iterative calculation". But whatever I do, it doesn't show anything - just blank. Can you help me with this, please... Thank you!
This comment was minimized by the moderator on the site
Hello, I am using to search between my vendors (one column) and brands (another column). With this setup, there are brands (like Microsoft) that can have more vendors (vendor A, vendor B, vendor C,...). I would like to search for the brand (microsoft) name and would like to see all possible vendors (A, B & C as well). But now the result is only the first vendor and that's all. How can I change/fix that?

Many thanks!
This comment was minimized by the moderator on the site
Hi Tomas,
Maybe you can rearrange your data and create a dynamic drop down list to solve the problem. You can browse the below article for more details.
https://www.extendoffice.com/documents/excel/1350-excel-create-dynamic-drop-down-list.html
This comment was minimized by the moderator on the site
i followed the resulted search method and it worked perfectly however the results are hyperlinked and it shows me the result without the hyperlink is there a way i can make it show me the result with the link connection?
This comment was minimized by the moderator on the site
After entering the formula =ISNUMBER(SEARCH($B$1,A4)) for conditional formatting, if the cell I used for the search function is blank, all the cells that are searched (A4:C368) are highlighted. But once a string is entered for the search criteria the cells containing the search criteria are highlighted correctly. Is there a way to tweak the formula to not highlight until search criteria is entered? Or did I do something wrong?

Also, using the formula in step 5 on another sheet within the workbook isn't working. What I'm trying to do is perform a search and show results of that search on one sheet named Search & Results while having the information to be searched on a sheet named Index. The formula I'm using is =IFERROR(VLOOKUP(A3,Index!$A$4:$C$368,5,FALSE),"") where A3 is the beginning of my numbered cells on the Search & Results sheet and the search is taking place throughout cells A4:C368 on the Index sheet.
This comment was minimized by the moderator on the site
same had been having the same issue with the formula,try this in your conditional formatting rule "=AND($I$1<>"",ISNUMBER(SEARCH($I$1,$B4)))", it works for me
I1 is my search box, B4 is first cell of selected range
This comment was minimized by the moderator on the site
Hi Colby. Your vlookup formula=IFERROR(VLOOKUP(A3,Index!$A$4:$C$368,5,FALSE),"") refers to range from A4 to C368 in Sheet name index which have only 3 column but you are entering 5 right after $C$368 which tells the vlookup formula to display value of column 5 which does not exists in your selected range. Fix this and I believe that your problem will be solved.
This comment was minimized by the moderator on the site
I have the same problem. Did you get an answer?
This comment was minimized by the moderator on the site
also me. i have the same problem
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations