Caranyayaitu Dengan Menggunakan Rumus (#Index-Match) Memanggil data otomatis berdasarkan keyword yang kita tulis. Mempermudah pengolahan data untuk dilakukan filtering, counting, dan perhitungan. Langkah-langkah yang perlu dilakukan untuk menggunakan rumus index-match yaitu : 1. Menyiapkan dan memahami data utama. Rumusdengan sel ini terdiri dari tiga komponen melalui fungsinya yang berbeda-beda. Komponen pertama adalah "=COUNTIF" yang digunakan sebagai perintah rumus Excel untuk mencari data yang sama. Kemudian, komponen "lokasi sel pencarian" adalah sel atau baris yang berisi data yang ingin kamu ketahui. Terakhir, komponen "sel kriteria Kasus Saya lagi cari rumus utk bisa mengembalikan nilai dari pencarian yang menggunakan 3 variabel.. misalnya saya punya sheet Daftar Harga Barang dgn kolom sbb: Kolom 1 : Berupa Kode/ID. Kolom 2 : Berupa tipe konsumen (reseller/langsung) Kolom 3 : Harga barang. di sheet yang lain saya punya rincian transaksi penjualan yang disusun perhari. Namun dengan sedikit kreatifitas dalam rumus ini, menggabungkan 2 kriteria maupun 2 rumus atau fungsi yang berbeda mungkin . 1 kata kunci atau 1 kriteria saja. Cari menggunakan index dan match dengan dua kriteria · rumus excel untuk mendapatkan angka minggu dalam sebulan (memiliki hari senin). Index & match (alternatif vlookup); . Pada bagian tutorial ini, kamu akan memahami mengenai cara menggunakan INDEX MATCH di excel. Rumus excel INDEX MATCH berguna untuk mencari suatu data dalam kumpulan kolom dan baris pada spreadsheet dengan mengetahui posisi dari data lainnya sebagai indikator dalam proses pencarian tersebut. INDEX MATCH di excel sangat mirip dengan VLOOKUP dan HLOOKUP dalam hal fungsinya. Hanya saja ia lebih fleksibel dan relatif lebih mudah asalkan kamu sudah mengerti dan terbiasa dalam menggunakannya. Pada bagian lain dari tutorial Compute Expert, sebenarnya sudah dijelaskan secara lengkap rumus excel INDEX MATCH secara terpisah. Hanya saja, kami merasa perlu menjelaskan kombinasinya secara khusus karena sering kami pakai dan akan sangat berguna untuk memahami cara pemakaian kombinasinya dalam keseharian penggunaan spreadsheet untuk proses pencarian dari suatu data. Mengapa Perlu Mempelajari Kombinasi INDEX MATCH di Excel? Dalam pemrosesan yang kita lakukan pada perangkat spreadsheet, seringkali kita perlu untuk mencari suatu data tertentu untuk kemudian bisa diolah lebih lanjut. Jika data tersebut memang sulit untuk ditemukan, terutama jika mungkin terdapat banyak baris dan kolom dalam cell range, maka akan menjadi sangat sulit untuk melakukan pencariannya secara manual. Terlebih jika kita butuh menemukan banyak data untuk mengisi suatu kolom atau baris tertentu pada spreadsheet kita. Sebagai contoh kasus, mungkin kita sedang perlu untuk mengisi harga produk berdasarkan nama produk tersebut dengan ketentuan angka harga yang diambil dari database besar mengenai berbagai macam detail soal produk perusahaan. Sebagai database kumpulan berbagai macam detail dari produk perusahaan tersebut, maka tipikalnya adalah ia memiliki berbagai kolom dan entri produk yang sangat banyak. Hal tersebut bisa menyulitkan kita dalam menemukan salah satu variabel dari produk tertentu seperti harga. Padahal mungkin kita memerlukannya secara cepat demi membuat suatu dokumen invoice untuk dikirimkan kepada distributor yang ingin membeli produk perusahaan kita. Dalam kasus seperti itu, maka akan sangat membantu jika terdapat sesuatu untuk membantu menemukan data secara otomatis dari banyak baris dan kolom tersebut berdasarkan indikator tertentu sesuai keinginan kita dalam contoh kasus tadi, maka indikatornya adalah harga serta nama produk yang ingin dicari harganya. Untuk membantu dalam proses pencarian pada cell range tersebut, maka terdapat kombinasi rumus excel INDEX MATCH untuk digunakan. Kombinasi INDEX MATCH di excel mampu menemukan data dalam cell range baik secara vertikal maupun horizontal sesuai dengan input indikator yang kita berikan dalam penulisan formulanya. Tentunya akan sangat membantu jika kita memahami cara menggunakan kombinasi INDEX MATCH di excel ini, terutama ketika kita butuh untuk mencari data tertentu pada perangkat spreadsheet. Apa Itu Rumus Excel INDEX MATCH? Rumus excel INDEX MATCH adalah kombinasi formula dengan tujuan penggunaan menemukan suatu data di dalam kumpulan baris dan kolom pada perangkat spreadsheet ini. Rumus ini merupakan kombinasi dari dua formula dengan kegunaan masing masing. Formula pertama dari kombinasi ini digunakan untuk mencari data dalam cell range dengan input posisi baris dan kolom dari yang dicari tersebut dan formula kedua pada kombinasi ini akan memberikan posisi baris atau kolom dari suatu data. Jika kita sudah memiliki indikator baris dan/atau kolom untuk digunakan dalam mencari data sesuai keinginan, maka kita bisa memasukkannya ke dalam formula INDEX MATCH di excel untuk kemudian digunakan dalam menemukan hal yang diinginkan sesuai indikator tersebut. Rumus excel INDEX MATCH ini sendiri sebenarnya hampir sama fungsinya dengan VLOOKUP dan HLOOKUP. Hanya saja INDEX MATCH di excel dapat secara langsung mencari sesuatu dalam baris dan kolom tanpa peduli proses pencariannya secara vertikal ataupun horizontal serta lebih fleksibel karena input dalam penulisan rumusnya bisa diganti ganti sesuai dengan kebutuhan kita untuk proses pencariannya, Sedikit penjelasan mengenai input di dalam kedua formula ini adalah sebagai berikut =INDEXarray, row_num, column_num Keterangan array = cell range tempat kamu ingin mencari datamu row_num = posisi baris di dalam cell rangemu tempat datamu berada column_num = posisi kolom di dalam cell rangemu tempat datamu berada =MATCHlookup_value, lookup_array, match_type Keterangan lookup_value = nilai untuk dicari di dalam baris/kolom lookup_array = cell range baris/kolom tempat pencarian match_type = opsional. Tipe pencarian yang ingin dilakukan apakah sama persis, sama persis atau lebih besar, atau sama persis atau lebih kecil Bagaimana Cara Menggunakan INDEX MATCH di Excel? Berikut akan dijelaskan mengenai bagaimana cara memakai rumus excel INDEX MATCH. Dalam penggunaan INDEX MATCH di excel, kamu perlu menentukan apakah indikator pencarian berada di baris, kolom, atau keduanya agar kamu tahu di mana nanti kamu akan menggunakan MATCH dalam formula INDEX demi mencari indikator tersebut untuk kemudian hasilnya akan diberikan sebagai salah satu input utama bagi hasil yang akan dihasilkan INDEX. Cara Menggunakan Rumus Excel INDEX MATCH Ketik tanda sama dengan = di cell tempat kamu ingin menaruh hasilnya Ketik INDEX boleh dengan huruf besar atau huruf kecil dan tanda buka kurung setelah = Drag kursor dari koordinat paling kiri atas sampai ke kanan bawah untuk cell range tempat pencarian datanya nanti lalu masukkan tanda koma , Ketik angka posisi baris atau koordinat cell tempat angka tersebut berada jika kamu sudah tahu persis pada baris mana datanya berada dan ingin menggunakan langsung posisi baris tersebut atau jika kamu hanya tahu indikator sebagai petunjuk posisi barisnya maka Ketik MATCH boleh dengan huruf besar atau huruf kecil dan tanda buka kurung setelah = Ketik indikator atau koordinat cell tempat indikatormu berada setelah tanda buka kurung lalu masukkan tanda koma Drag kursor cell dari koordinat cell paling atas sampai ke bawah untuk baris tempat pencarian indikator datamu lalu masukkan tanda koma Masukkan angka 0 agar indikatormu ditemukan secara sama persis oleh formula ini Ketik tanda tutup kurung lalu masukkan tanda koma Ketik angka posisi kolom atau koordinat cell tempat angka tersebut berada jika kamu sudah tahu persis pada kolom mana datanya berada dan ingin menggunakan langsung posisi kolom tersebut atau jika kamu hanya tahu indikator sebagai petunjuk posisi kolomnya maka Ketik MATCH boleh dengan huruf besar atau huruf kecil dan tanda buka kurung setelah = Ketik indikator atau koordinat cell tempat indikatormu berada setelah tanda buka kurung lalu masukkan tanda koma Drag kursor cell dari koordinat cell paling kiri sampai ke kanan untuk kolom tempat pencarian indikator datamu lalu masukkan tanda koma Masukkan angka 0 agar indikatormu ditemukan secara sama persis oleh formula ini Ketik tanda tutup kurung Masukkan tanda tutup kurung Tekan tombol Enter Prosesnya selesai dilakukan! Latihan Setelah kamu mempelajari langkah langkah penggunaan INDEX MATCH di excel dalam tutorial tadi, kamu dapat mempraktekkan pemahamanmu agar menjadi lebih mahir dengan mengerjakan latihan di bawah ini! Unduh file dari link berikut dan jawab pertanyaannya. Silahkan unduh jawabannya jika kamu sudah selesai melakukan proses penjawaban dan sudah yakin atas hasil yang kamu dapatkan! Link unduh file latihan Unduh di siniPertanyaan Gunakan rumus excel INDEX MATCH untuk menjawab tiga pertanyaan berikut! Berapa angka pada kolom C? Berapa angka pada baris E? Berapa angka pada baris A dan kolom C? Link unduh jawaban Unduh di siniCatatan Tambahan Jika kamu ingin mempelajari secara lebih detail dari masing masing bagian rumus INDEX MATCH di excel atau mungkin mempelajari VLOOKUP dan HLOOKUP sebagai alternatif formula pencarian data walaupun kami sebenarnya merekomendasikan kamu menggunakan rumus excel INDEX MATCH karena lebih mudah serta fleksibel dalam penggunaannya, maka kamu dapat melihat bagian tutorial lain dari blog Compute Expert ini! Esta é uma fórmula mais avançada. Para o básico, veja Como usar INDEX e MATCH. Normalmente, uma fórmula INDEX MATCH é definida com MATCH definido para examinar um intervalo de uma coluna e fornecer uma correspondência com base em determinados critérios. Sem concatenar valores em uma coluna auxiliar ou na própria fórmula, não há como fornecer mais de um critério. Essa fórmula contorna essa limitação usando a lógica booleana para criar uma matriz de uns e zeros para representar as linhas que correspondem a todos os 3 critérios e, em seguida, use MATCH para corresponder ao primeiro 1 encontrado. A matriz temporária de uns e zeros é gerada com este fragmento H5=B5B11*H6=C5C11*H7=D5D11 Aqui comparamos o item em H5 com todos os itens, o tamanho em H6 com todos os tamanhos e a cor em H7 com todas as cores. O resultado inicial são três matrizes de resultados VERDADEIRO / FALSO como este {TRUE;TRUE;TRUE;FALSE;FALSE;FALSE;TRUE}*{FALSE;FALSE;TRUE;FALSE;FALSE;TRUE;FALSE}*{TRUE;FALSE;TRUE;FALSE;FALSE;FALSE;TRUE} Dica use F9 para ver esses resultados. Basta selecionar uma expressão na barra de fórmulas e pressionar F9. A operação matemática multiplicação transforma os valores TRUE FALSE em 1 e 0 {1;1;1;;;;1}*{;;1;;;1;}*{1;;1;;;;1} Após a multiplicação, temos uma única matriz como esta que é alimentado para a função MATCH como a matriz de pesquisa, com um valor de pesquisa de 1 Neste ponto, a fórmula é uma fórmula INDEX MATCH padrão. A função MATCH retorna 3 para INDEX e INDEX retorna um resultado final de $ 17,00. Matrix display As matrizes explicadas acima podem ser difíceis de visualizar. A imagem a seguir mostra a ideia básica. As colunas B, C e D correspondem aos dados do exemplo. A coluna F é criada multiplicando as três colunas. É a matriz entregue à MATCH. Sem versão de correção É possível adicionar outro INDEX a esta fórmula, evitando a necessidade de inserir uma fórmula de matriz com control + shift + enter A função INDEX pode manipular matrizes nativamente, então o segundo INDEX é adicionado apenas para “capturar” a matriz criada com a operação lógica booleana e retornar a mesma matriz de volta para MATCH. Para fazer isso, INDEX é configurado com zero linhas e uma coluna. O truque da linha zero faz com que INDEX retorne a coluna 1 da matriz que já é uma coluna de qualquer maneira. Por que você quer a versão sem matriz? Às vezes, as pessoas esquecem de inserir uma fórmula de matriz com control + shift + enter, e a fórmula retorna um resultado incorreto. Portanto, uma fórmula sem uma matriz é mais “à prova de balas”. No entanto, a compensação é uma fórmula mais complexa. Observação no Excel 365, você não precisa inserir fórmulas de matriz de maneira especial. Entradas relacionadas We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. The tutorial shows how to lookup with multiple criteria in Excel using INDEX and MATCH and a few other ways. Although Microsoft Excel provides special functions for vertical and horizontal lookup, expert users normally replace them with INDEX MATCH, which is superior to VLOOKUP and HLOOKUP in many ways. Among other things, it can look up two or more criteria in columns and rows. This tutorial explains the syntax and inner mechanics in full detail so that you can easily adjust the formula for your particular needs. To make the examples easier to follow, you are welcome to download our sample workbook. INDEX MATCH with multiple criteria Non-array INDEX MATCH with two or more criteria INDEX MATCH multiple criteria in rows and columns matrix lookup Excel INDEX MATCH with multiple criteria When working with large databases, you may sometimes find yourself in a situation when you need to find something but don't have a unique identifier for the search. In this case, lookup with several conditions is the only solution. To look up a value based on multiple criteria in separate columns, use this generic formula {=INDEXreturn_range, MATCH1, criteria1=range1 * criteria2=range2 * …, 0} Where Return_range is the range from which to return a value. Criteria1, criteria2, … are the conditions to be met. Range1, range2, … are the ranges on which the corresponding criteria should be tested. Important note! This is an array formula and it must be completed with Ctrl + Shift + Enter. This will enclose your formula in {curly brackets}, which is a visual sign of an array formula in Excel. Do not try typing the braces manually, that won't work! The formula is an advanced version of the iconic INDEX MATCH that returns a match based on a single criterion. To evaluate multiple criteria, we use the multiplication operation that works as the AND operator in array formulas. Below, you will find a real-life example and the detailed explanation of the logic. INDEX MATCH with several criteria - formula example For this example, we will be using a table in the so-called "flat-file" format with each separate criteria combination region-month-item in our case on its own row. Our goal is to retrieve the sales figure for a certain item in a specific region and month. With the source data and criteria in the following cells Return_range sales - D2D13 Criteria1 target region - G1 Criteria2 target month - G2 Criteria3 target item - G3 Range1 regions - A2A13 Range2 months - B2B13 Range3 items - C2C13 The formula takes the following shape =INDEXD2D13, MATCH1, G1=A2A13 * G2=B2B13 * G3=C2C13, 0 Enter the formula, say in G4, complete it by pressing Ctrl + Shift + Enter and you will get the following result How this formula works The trickiest part is the MATCH function, so let's figure it out first MATCH1, G1=A2A13 * G2=B2B13 * G3=C2C13, 0 As you may remember, MATCHlookup_value, lookup_array, [match_type] searches for the lookup value in the lookup array and returns the relative position of that value in the array. In our formula, the arguments are as follows Lookup_value 1 Lookup_array G1=A2A13 * G2=B2B13 * G3=C2C13 Match_type 0 The 1st argument is crystal clear - the function searches for the number 1. The 3rd argument set to 0 means an "exact match", the formula returns the first found value that is exactly equal to the lookup value. The question is - why do we search for "1"? To get the answer, let's have a closer look at the lookup array where we compare each criterion against the corresponding range the target region in G1 against all regions A2A13, the target month in G2 against all months B2B13 and the target item in G3 against all items C2C13. An intermediate result is 3 arrays of TRUE and FALSE where TRUE represents values that meet the tested condition. To visualize this, you can select the individual expressions in the formula and press the F9 key to see what each expression evaluates to The multiplication operation transforms the TRUE and FALSE values into 1's and 0's, respectively {1;1;1;1;1;1;0;0;0;0;0;0} * {0;0;1;1;0;0;0;0;1;1;0;0} * {1;0;1;0;1;0;1;0;1;0;1;0} And because multiplying by 0 always gives 0, the resulting array has 1's only in the rows that meet all the criteria {0;0;1;0;0;0;0;0;0;0;0;0} The above array goes to the lookup_array argument of MATCH. With lookup_value of 1, the function returns the relative position of the row for which all the criteria are TRUE row 3 in our case. If there are several 1's in the array, the position of the first one is returned. The number returned by MATCH goes directly to the row_num argument of the INDEXarray, row_num, [column_num] function =INDEXD2D13, 3 And it yields a result of $115, which is the 3rd value in the D2D13 array. Non-array INDEX MATCH formula with multiple criteria The array formula discussed in the previous example works nice for experienced users. But if you are building a formula for someone else and that someone does not know array functions, they may inadvertently break it. For example, a user may click your formula to examine it, and then press Enter instead of Ctrl + Shift + Enter. In such cases, it would be wise to avoid arrays and use a regular formula that is more bulletproof INDEXreturn_range, MATCH1, INDEXcriteria1=range1 * criteria2=range2 * .., 0, 1, 0 For our sample dataset, the formula goes as follows =INDEXD2D13, MATCH1, INDEXG1=A2A13 * G2=B2B13 * G3=C2C13, 0, 1, 0 How this formula works As the INDEX function can process arrays natively, we add another INDEX to handle the array of 1's and 0's that is created by multiplying two or more TRUE/FALSE arrays. The second INDEX is configured with 0 row_num argument for the formula to return the entire column array rather than a single value. Since it's a one-column array anyway, we can safely supply 1 for column_num INDEX{0;0;1;0;0;0;0;0;0;0;0;0}, 0, 1 returns {0;0;1;0;0;0;0;0;0;0;0;0} This array is passed to the MATCH function MATCH1, {0;0;1;0;0;0;0;0;0;0;0;0}, 0 MATCH finds the row number for which all the criteria are TRUE more precisely, the the relative position of that row in the specified array and passes that number to the row_num argument of the first INDEX =INDEXD2D13, 3 INDEX MATCH with multiple criteria in rows and columns This example shows how to perform lookup by testing two or more criteria in rows and columns. In fact, it's a more complex case of the so-called "matrix lookup" or "two-way lookup" with more than one header row. Here's the generic INDEX MATCH formula with multiple criteria in rows and columns {=INDEXtable_array, MATCHvlookup_value, lookup_column, 0, MATCHhlookup_value1 & hlookup_value2, lookup_row1 & lookup_row2, 0} Where Table_array - the map or area to search within, all data values excluding column and rows headers. Vlookup_value - the value you are looking for vertically in a column. Lookup_column - the column range to search in, usually the row headers. Hlookup_value1, hlookup_value2, … - the values you are looking for horizontally in rows. Lookup_row1, lookup_row2, … - the row ranges to search in, usually the column headers. Important note! For the formula to work correctly, it must be entered as an array formula with Ctrl + Shift + Enter. It is a variation of the classic two-way lookup formula that searches for a value at the intersection of a certain row and column. The difference is that you concatenate several hlookup values and ranges to evaluate multiple column headers. To better understand the logic, please consider the following example. Matrix lookup with multiple criteria - formula example In the sample table below, we'll be searching for a value based on the row headers Items and 2 column headers Regions and Vendors. To make the formula easier to build, let's first define all the criteria and ranges Table_array - B3E4 Vlookup_value target item - H1 Lookup_column Row headers items - A3A4 Hlookup_value1 target region - H2 Hlookup_value2 target vendor - H3 Lookup_row1 Column headers 1 regions - B1E1 Lookup_row2 Column headers 2 vendors - B2E2 And now, supply the arguments into the generic formula explained above, and you will get this result =INDEXB3E5, MATCHH1,A3A5,0, MATCHH2&H3,B1E1&B2E2,0 Remember to complete the formula by pressing the Ctrl + Shift + Enter shortcut, and your matrix lookup with multiple criteria will be done successfully How this formula works As we are searching vertically and horizontally, we need to supply both the row and column numbers for the INDEXarray, row_num, column_num function. Row_num is delivered by MATCHH1, A3A5, 0 that compares the target item Apples in H1 against the row headers in A3A5. This gives a result of 1 because "Apples" is the 1st item in the specified range. Column_num is worked out by concatenating 2 lookup values and 2 lookup arrays MATCHH2&H3, B1E1&B2E2, 0 The key factor for success is that the lookup values should match the column headers exactly and be concatenated in the same order. To visualize this, select the first two arguments in the MATCH formula, press F9, and you will see what each argument evaluates to MATCH"NorthVendor 2", {"NorthVendor 1", "NorthVendor 2", "SouthVendor 1", "SouthVendor 2"}, 0 As "NorthVendor 2" is the second element in the array, the function returns 2. At this point, our lengthy two-dimensional INDEX MATCH formula transforms into this simple one =INDEXB3E5, 1, 2 And returns a value at the intersection of the 1st row and 2nd column in the range B3E5, which is the value in the cell C3. That's how to look up multiple criteria in Excel. I thank you for reading and hope to see you on our blog next week! Practice workbook for download Excel INDEX MATCH multiple criteria .xlsx file How to look up several conditions in Excel

rumus index match 2 kriteria