Loncat ke daftar isi utama

Bagaimana cara vlookup dan mengembalikan seluruh / seluruh baris dari nilai yang cocok di Excel?

Biasanya, Anda dapat vlookup dan mengembalikan nilai yang cocok dari berbagai data dengan menggunakan fungsi Vlookup, tetapi, pernahkah Anda mencoba menemukan dan mengembalikan seluruh baris data berdasarkan kriteria tertentu seperti gambar berikut yang ditampilkan.

Vlookup dan mengembalikan seluruh / seluruh data baris dari nilai yang cocok dengan rumus

Vlookup dan mengembalikan seluruh / seluruh data baris dari nilai yang cocok dengan rumus array


Vlookup dan mengembalikan seluruh / seluruh data baris dari nilai yang cocok dengan rumus

Untuk mendapatkan seluruh data baris dari nilai yang cocok, harap terapkan rumus berikut:

Masukkan rumus ini: = VLOOKUP ($ F $ 2, $ A $ 1: $ D $ 12, COLUMN (A1), FALSE) ke sel kosong di mana Anda ingin mendapatkan hasilnya, misalnya, H1, lalu seret rumus ke kanan (dari H2 ke K2), dan Anda akan mendapatkan seluruh data baris yang Anda inginkan. Lihat tangkapan layar:

Note: Dalam rumus di atas, F2 adalah nilai pencarian yang ingin Anda kembalikan ke seluruh baris, A1: D12 adalah rentang data yang ingin Anda gunakan, A1 menunjukkan nomor kolom pertama dalam rentang data Anda.


Vlookup dan mengembalikan seluruh / seluruh data baris dari nilai yang cocok dengan rumus array

Kecuali rumus di atas, berikut adalah rumus array lain yang juga dapat membantu Anda.

1. Pilih sel tempat Anda ingin menampilkan hasil seluruh baris, lalu masukkan rumus array ini: = VLOOKUP (F2, $ A $ 2: $ D $ 12, {1,2,3,4}, FALSE) ke dalam bilah rumus, lihat tangkapan layar:

2. Lalu tekan Ctrl + Shift + Enter kunci bersama-sama, Anda akan mendapatkan seluruh baris dari nilai yang cocok, lihat tangkapan layar:

Note: Dalam rumus di atas, F2 adalah nilai pencarian yang ingin Anda kembalikan ke seluruh baris, A2: D12 adalah rentang data yang ingin Anda gunakan, 1,2,3,4 adalah nomor kolom yang ingin Anda kembalikan nilainya.


Jika Anda tertarik dengan fungsi VLOOKUP di Excel, Kutools untuk Excel's PENCARIAN Super mendukung beberapa rumus Vlookup yang kuat untuk Anda, Anda bisa lakukan fungsi Vlookup dengan cepat tanpa mengingat rumus apa pun. Klik untuk mengunduh Kutools for Excel!

Kutools untuk Excel: dengan lebih dari 300 add-in Excel yang praktis, gratis untuk dicoba tanpa batasan dalam 30 hari. Unduh dan uji coba gratis Sekarang!

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 (27)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Vlookup kulland谋臒谋mda de臒eri de臒il n/a 艧eklinde d枚nd眉r眉yor. rakam谋n kendisi yazmasini nas谋l yapa bilirim ya da neden n/a d枚nd眉r眉yor
This comment was minimized by the moderator on the site
Is it possible to use Index/match formula to do the same thing? And if so, how?
This comment was minimized by the moderator on the site
Hello, Lin,
To solve this task with Index/match formula, please apply the below formula:
=INDEX(B2:E6,MATCH(G2,A2:A6,0),0)

After inserting the formula, please press Ctrl + Shift + Enter keys together, and then drag the fill handle to right to fill the results, see screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-lookup-entire-row.png

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Excellent work.  I was wondering how to take this a step further and return rows that don't exactly match my criteria.  For example, I have:          a                    b                    c                    d1    2020-23          Jan                 17                  Complete2    2020-24          Jan                 17                  Complete3    2020-24a        Feb                 01                  
This comment was minimized by the moderator on the site
Is there a way to use the third column data to search in and still return the first two columns?
This comment was minimized by the moderator on the site
to get the 4 column to paste first copy the formula and select four cells and paste the formula you will get all 4
This comment was minimized by the moderator on the site
Also, I am unable to set up an account (tried twice and got an error twice) and cannot post a screenshot as a guest.
This comment was minimized by the moderator on the site
I've tried to replicate this table just as you had it but the formula does not work, what gives?
This comment was minimized by the moderator on the site
Hi,

I registered just to say thank you so much! After looking on the internet for hours this is exactly what I needed to see. Perfect explanation.

Thanks,

Jack
This comment was minimized by the moderator on the site
So I am needing some help with Vlookup. Have a table with the following headers (group assignmen, Name, home town, gender, and comments). I am trying to input a value of the group and have it list everyone that is in the group along with the respective data such as the name, home town, gender, and comments associated with row. I am able to produce the first row but I need all the "1", "2",......."15" from the list that is sorted by group assignment not just the fist one from the list. Any help would be much appreciated
This comment was minimized by the moderator on the site
Is there a way to do a vlookup to return entire rows for one lookup value. If there were 4 rows with products titled DDD-4, can you do a search that will display the 4 products and the details in column 1,2,3,4?
This comment was minimized by the moderator on the site
Hello, Claude,
Maybe the below array formula can help you:(Note: after pasting this formula, please press Ctrl + Shift + Enter keys together.)
=IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH($E$2,$A$2:$A$12)),ROW($A$2:$A$12),""),ROW()-1)),"")
After pressing the Ctrl + Shift + Enter keys, then drag the fill handle right to the cells, and then drag the fill hanlde down the cells to get the results.
Please try, hopt it can help you, thank you!
This comment was minimized by the moderator on the site
Is there a way to do this but search across multiple sheets?
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