(adsbygoogle = window.adsbygoogle || []).push({}); ©Copyright2021 ホワイトレイア.All Rights Reserved. "@type":"HowToDirection", The array is the list of values you want in your new stateCode column. INDEX and MATCH are more versatile than the VLOOKUP function in terms of lookups, however, it only gets the first […] INDEX and MATCH – multiple criteria and multiple results The formula in cell C14 returns multiple values from column Item. The biggest difference is that VLOOKUP only looks right. This will lock the column, but not the row. In this case, the items could be to the right of the prices and INDEX MATCH would still work. The biggest difference is that VLOOKUP only looks right. It’s really useful for paring down large datasets into manageable ones. "@type": "HowToDirection", VLOOKUP and INDEX-MATCH operate a little differently though. Hit enter to commit the formula and you should see AK in the first cell. It might not make sense at this moment, but the next steps will show how this applies to enormous datasets. It might have looked a bit scary, but now that we’ve built it up in stages, I … Instead of using VLOOKUP, use INDEX and MATCH.To perform advanced lookups, you'll need INDEX and MATCH. Lookup (index/match) and return column headers Hi, I'm trying to perform a lookup in a table to return the column header from another table, which I was thinking could be performed with Index/Match "itemListElement":[{ Here’s a quick key for referencing: Absolute row, absolute column ($A$1:$B$2). If you’ve never held a phone book, that’s reasonable. "text":"Hotkeys. ], "@type":"HowToDirection", We won’t do that in this example. "text":"FORMULA = INDEX($B$1:$B$5, MATCH($C1, $A$1:$A$5, 0), MATCH(A$1, $B$2, 0))" } It’s like the answer key. Congrats! INDEX & MATCH can perform two-way lookups by both looking along the rows and along the columns to find the intersection within a matrix. Select entire row/column if cell values match certain value in Excel. { "@type":"HowToTip", =INDEX(B2:B5,MATCH(B7,A2:A5,0)) Looking up a value with a row criteria and a column criteria Now suppose we have a similar table and the state cell). "itemListElement":[{ Match Row Range: If using the exact VBA code ensure that the range ("B5:B9") captures one of the values that you are looking up for which you want to return the row number, relative to the range. By locking the column, you’ll be able to drag this formula right, up, or down and not lose the referencing. That’ll be important later. "height":"251", "image":[{ "url":"https://www.cbtnuggets.com/blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-11-at-3.04.12-PM.png", "@type":"HowToDirection", That’s the lookup_value of the nested MATCH formula." We shall supply the INDEX and MATCH formula so that it can look through the price column and match a certain cell with the supplied criteria. "text":"Copy and paste. In other words, you have to initially select the both the search and output columns. Explanation. "text":"There are a bunch of ways to fill a column down. "@type":"HowToTip", "itemListElement":[{ INDEX & MATCH can match both rows and columns headers and return the result from the middle table. }, The third argument of the INDEX function is the column_num argument, and we entered 6 because the table’s amount column is the 6th column. "}, { "@type":"HowToDirection", It has certain features that make it superior to VLOOKUP in many situations. ], INDEX MATCH MATCH is one of several lookup formulas, which include OFFSET MATCH MATCH, ... = INDEX ( array, row_number, column_number) For example, let’s say we selected the entire sales data table, and then specified “6” as the row number and “4” as the column number. Unlike VLOOKUP, which searches only to the right, INDEX and MATCH can look in both directions – left and right. ] You will see the entire column retrieved. Row_num is delivered by MATCH(H1, A3:A5, 0) that compares the target item (Apples) in H1 against the row headers in A3:A5. We’ll start writing our formula in the first cell of the new column. "@type":"HowToDirection", ", To accomplish an INDEX-MATCH-MATCH, you’ll need a few parts. "height":"222", Indexing is also known as Subset selection. See Also. We could have included the MATCH() function within the INDEX() function to do it all in one cell: Remember that the state list maps states names to their abbreviations. You’ll remember that INDEX-MATCH works best with unique identifiers. "url":"https://www.cbtnuggets.com/blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-11-at-2.25.50-PM.png", By locking the column, you'll be able to drag this formula right, up, or down and not lose the referencing. So far we have learned how to sum the entire matching column of a table in Excel. Make sure your column headers are unique. }, { While INDEX-MATCH relies on row coordinates to index columns, INDEX-MATCH-MATCH also needs a column for reference. } "@type":"HowToDirection", To return the value itself or another value corresponding to the row or column the match is found in, use INDEX, HLOOKUP, or VLOOKUP. "@type":"HowToStep", Sometimes, though, it’s time to bring out the big guns — the INDEX-MATCH-MATCH. This formula will return a value from a two dimensional array (A2:J182) where the row number is decided on the exact match of the value from K2 in column A, and the column number is the column with the exact match of the column F header in the header row, i.e. "@type":"HowToStep", Can someone please advise the formula for matching a value in a row as well as a value in a header row and return the value where both cross i.e. { In this step, we’ll start the second MATCH statement. "@type":"HowToDirection", Absolute referencing is important. }, { "@type":"HowToStep", Double click the square in the bottom-right corner of the cell. We will click on B4 in figure 3. For us to do an index match of columns and rows with the above data set, we are going to use the following functions; the INDEX function and the MATCH function. Learn anytime anywhere with our mobile apps. MATCH(lookup_value, lookup_array, [match_type]). }, It might not make sense at this moment, but the next steps will show how this applies to enormous datasets." When INDEX and MATCH are used together, the MATCH function finds the look up value’s row / column index and then hands this value off to the INDEX function to get the lookup value. ] "text":"Just like the first MATCH, we'll need to tell the formula where to find the search term. が返されます。, 任意です。配列内の値を返す列番号を、数値で指定します。列番号を省略した場合は、必ず行番号を指定します。範囲外のセルを指定するとエラー値 #REF! } Otherwise, Excel will only reference the first column header. INDEX関数とMATCH関数を組み合わせた使い方をご紹介します。INDEX関数は指定した行と列が交差する位置にあるセルの内容を返す関数ですが、MATCH関数を組み合わせることでより柔軟な検索が可能になります。 However, when preparing workbooks to be used on a… "text":" It’s best to either copy and paste or reference the cell to make sure they’re exactly the same. "url":"https://www.cbtnuggets.com/blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-11-at-2.31.28-PM.png", "@type":"HowToDirection", in range A1:D1. We will enter the name of the range as “Section” and press enter. =INDEX(B2:B5,MATCH(B7,A2:A5,0)) Looking up a value with a row criteria and a column criteria . This combination becomes the … INDEX(F11:L21,4,5) returns the value in the fourth row, fifth column of the table array F11:L21 (clearly 26 in the above illustration). Double click the square in the bottom-right corner of the cell." Absolute column, relative row ($A1:$A20). ] Without further delay let's use the formula. INDEX and MATCH are Excel lookup functions. "@type":"ImageObject", Matching Both Row and Column Numbers. Index(looking at the pivot table for the sales numbers, IFNA(MATCH(is looking for the rep name, in the first column of the pivot table for a match,0),"I'm not sure if … ] "image" : [{ We’ll want to lock that entire selection because it should never change, so we’ll use absolute referencing. "@type": "HowToTip", The MATCH function returns the position of a value in a given range. "@type": "HowToStep", Select down with CTRL + down arrow, and then fill down with CTRL + D. Drag and pull. =MATCH () returns the position of a cell in a row or column. In this step-by-step guide, we'll create an INDEX-MATCH formula, and then add the second MATCH statement to make it an INDEX-MATCH-MATCH. ] The formula returns the value to the output cell. "@type": "ImageObject", Second, in the row_number argument of index function, you have used match function and specify the invoice number, referred to the invoice column and used zero for the exact match.. Third, match function returns the cell number of the invoice from the range, You’ll know if you did something wrong if the function returns #N/A. MATCH finds the position by using a lookup value. This task is fairly easy using traditional lookup functions or conditional summing functions. Here’s a diagram of what happened in the first MATCH statement: There are a bunch of ways to fill a column down. Otherwise, Excel will only reference the first column header." And, unlike VLOOKUP, it can be used on rows, columns, or both at the same time.. INDEX MATCH is so useful that many Excel pros use it to replace VLOOKUP entirely, never … Since the MATCH () function can only handle single rows and columns, the simplest way to resolve the problem we had earlier is to use helper cells that combine the values in rows 20 and 21 into one row instead of two. They both function about the same. It’s best to either copy and paste or reference the cell to make sure they’re exactly the same. MATCH can return the row number and column number of the table headers of both rows & columns. "name":"Tell Excel where you want to search", For a quick merge, the common value doesn’t have to be as stringent as required for a primary key, but it should at the very least be unique. It is found at 2nd index. lookup_value: The thing you want to find the search array (ex. In the second MATCH, we lock the row (D$1) so the formula won't move down with the formula. INDEX-MATCH is best used for merging data with unique identifiers, including: These are examples of primary keys. This will lock your search on these cells. "itemListElement": [{ ], "itemListElement": [{ The steps below will walk through the process. },{ {"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How Does Merging Data in Excel Work? { In your worksheet, create a column and label it the same as the output array. That'll be important later." That’s the idea of merging data. FORMULA = INDEX($B$1:$B$5, MATCH($C1, $A$1:$A$5, [match_type]),), FORMULA = INDEX($B$1:$B$5, MATCH($C1, $A$1:$A$5, 0),), The match_type value has three positions: -1, 0 and 1. To be specific, is it possible for Index Match or similar, to do within 1 CELL, a Formula match of DV Combo Box > Column A rows, then for that specific row of specific Columns in this instance Column B&C, perform a calc? MATCH is used to provide logic to the row_num and column_num parameters of INDEX. "@type":"ImageObject", Back in the olden days, you would open the phone book, flip through the pages to find a last name or business, and then move your finger over one or two columns to find the phone number. That’ll be important later. "width":"799" } Or, we could get fancy and use an index match combination using this formula. That’s a job for INDEX-MATCH-MATCH. When properly using referencing, you can pull a formula across a sheet and fill multiple columns.\""}},{"@type":"Question","name":"When Should You Use INDEX-MATCH vs. Index Range: If using the exact VBA code ensure that the range ("C5:D9") captures the data that you want to return. Match. In its simplest form, you just indicate either a row or column as your range, specify a reference point, and the value that matches that reference point is returned. We can use an array formula that is based on the MMULT, TRANSPOSE, COLUMN, and INDEX functions to lookup a value by matching across multiple columns. "@type": "HowToDirection", This will be useful when we write the first MATCH formula. How it works? When properly referenced, the INDEX-MATCH-MATCH does a really good job of returning the data you want from a big dataset or merging data. "text": "In your worksheet, create a column and label it the same as the output array. }, "text":"Drag and pull. In this case, it’ll be the state list — your answer key. }, { ] Excel now knows what you want in your cell. In the second MATCH, it’ll be the column cell (or cells). The most popular way to do a two-way lookup in Excel is by using INDEX MATCH MATCH. この使い方はデータ抽出には必見です。こんな方法があったかと、あっと驚くでしょう!エクセルINDEX関数に、ROW関数、COLUMN関数を組み合わせて、まとまったデータをそのまま抽出する方法を紹介しています。INDEX関数の応用編です。INDEX関数では、このようなことができるという使い方を分かりやすく説明しています。ブロックごとにまとまって入力されているデータがあります。このまとまったデータを、ブロックごと抽出することができます。, エクセルINDEX関数、ROW関数を組み合わせて、2行のブロックを2列に表示させてみましょう。, ROW関数で行番号を取得します。E2に入力した「=ROW()」は、行番号「2」を返します。, ROW関数で行番号を取得します。F2に入力した「=ROW()」は、行番号2を返します。, INDEX関数の列番号は、省略したので「1」です。F2の式は、範囲「$C$1:$C$9」で、3行目、1列目の値を返します。, エクセルINDEX関数、COLUMN関数を組み合わせて、2列のブロックを2行に表示させてみましょう。, 範囲を1列で指定したので、行番号は省略できます。B5に入力した「=COLUMN()」は、列番号「2」を返します。, 範囲を1列で指定したので、行番号は省略できます。B6に入力した「=COLUMN()」は、列番号「2」を返します。, 「=(COLUMN()-1)*2+1」は、「(2-1)*2+1」で列番号「3」です。, B7は「19,262,000」です。これで「北海道の2017年度の売上金額」が表示されました。, こちらの記事もご覧ください。⇒エクセル関数INDEXとMATCHで複数条件で検索、抽出!, エクセルINDEX関数、ROW関数、COLUMN関数を組み合わせて、1列に入力されているデータをブロックごと列に表示させてみましょう。, E1 =INDEX($B$1:$B$9,ROW(A1)+(COLUMN(A1)-1)*3), D1に入力した「ROW(A1)+(COLUMN(A1)-1)*3」は、「$B$1:$B$9」の範囲で「1列、1~3行」を取得する式です。列は1列なので省略できます。, G2に、商品№「A120032」の表参道店の在庫数を、抽出する式を入力しましょう。店舗に入力されているのは在庫数です。, こちらの記事もご覧ください。⇒エクセルINDEX関数とMATCH関数を使って検索、抽出する方法, F2の式は、範囲「A2:C3」と「A5:C7」で、領域番号を「2」に指定します。2番目の領域「A5:C7」が選択されるので、2番目の領域「A5:C7」の上から2番目行、左から3番目の列の値を返します。, 範囲「A2:A5」の1行目の行番号を調べましょう。1行目はA2なので、行番号は「2」です。, 範囲「A2:C2」の1列目の列番号を調べましょう。1列目はA2なので、列番号は「1」です。, INDEX関数、ROW関数、COLUMN関数を組み合わせて使うと色々な抽出ができます。ROW関数は行番号を返す関数です。それに対しCOLUMN関数は列番号を返します。ROW関数、COLUMN関数はそれ自体あまり意味をなさない関数で、単独で使われることはあまりないですが、他の関数と組み合わせて使うと便利な関数です。, ROW関数、COLUMN関数と組み合わせて便利な関数には、VLOOKUP関数、HLOOKUP関数、INDEX関数、OFFSET関数などがあります。ROW関数、COLUMN関数と同じ検索/行列関数で、組み合わせることによって色々な検索、抽出ができます。ROW関数、COLUMN関数が重要な役割をします。ROW関数、COLUMN関数は、データの集計、加工において便利な関数です。, こちらの記事もご覧ください。⇒エクセルINDEX関数とMATCH関数を使って複数条件で値を取得する, 次回のコメントで使用するためブラウザーに自分の名前、メールアドレス、サイトを保存する。. "url":"https://www.cbtnuggets.com/blog/wp-content/uploads/2019/04/Screen-Shot-2019-04-11-at-2.21.25-PM.png", "text":"While INDEX-MATCH relies on row coordinates to index columns, INDEX-MATCH-MATCH also needs a column for reference. lookup_array: A list of values you want to search against (ex. Here’s an image below for reference. Ultimately, you’re trying to programmatically find information you don’t know with information you do know. In this article, we will learn how to do the sum of matching rows and columns. MATCH(F1,A1:D1,0): The match looks for the value of F1 (Roll No.) "@type": "HowTo", “At its worst, the INDEX-MATCH method is about as fast as VLOOKUP; at its best, it’s much faster.” INDEX/MATCH is Independent of the Actual Column Position. Instead, it’ll move across the columns." So now we know that INDEX will do the job, we just need to figure out how to use MATCH to get the right row and column numbers. },{ We want to exactly find the right column to make this formula bulletproof. First of all, you have referred to the amount column in index function.This is the column from where we need to get the value. If we’ve done our referencing properly, we’ll be able to fill the cell down later. "itemListElement": [{ "text":"If we've done our referencing properly, we'll be able to fill the cell down later." ], In our example, we’ll be using a short list of addresses. The example below shows how these work in tandem. INDEX and MATCH are more versatile than the VLOOKUP function in terms of lookups, however, it only gets the first […] INDEX and MATCH – multiple criteria and multiple results The formula in cell C14 returns multiple values from column Item. Make sure your column headers are unique. { "name":"Start writing the formula in the stateCode column", If matched, the adjacent values in Column C should be returned. "@type":"HowToStep", },{ "@type":"ImageObject", Now, if we combine the INDEX and MATCH functions together, we get the ] "width":"728" } With INDEX-MATCH-MATCH, it doesn’t matter whether the columns or even the lookup terms are in the same order as the sheet. "width":"603" } state column). So if the match was in say E1, then MATCH returns 2 (E is the 2nd column of D to I) But the INDEX would be indexing the 2nd column of columns A to I, which is column B. We’ll use two non-adjacent, non-consecutive columns to illustrate how this works. "image":[{ But how do we sum values when we need to match column and row. I'm using INDEX/MATCH to perform this action. In other words, you have to initially select the both the search and output columns. That intersection is 1000. INDEX-MATCH-MATCH is no different. Re: Index and Match with 2 columns and 1 row Glad to hear it. If you’ve built the formula correctly, then you can just fill right from the stateCode column to populate the rest of the spreadsheet. MATCH returns the position in an array or range of a matched value rather than the value itself. The INDEX-MATCH is an invaluable formula for merging data. "image": [{ } ","acceptedAnswer":{"@type":"Answer","text":"There are two main ways to merge data in Excel — VLOOKUP and INDEX-MATCH. PREREQUISITES Worksheet Name: Have a worksheet named Analysis. Everything will be on one sheet. While they are two entirely separate functions that can be used on their own, they can also be combined to create advanced formulas. =INDEX(MATCH(J2,B:B,0) As you can see the syntax of the INDEX function goes: array, row number, column number. }, In the first MATCH, we locked the column with absolute referencing ($C1). In this step-by-step guide, we’ll create an INDEX-MATCH formula, and then add the second MATCH statement to make it an INDEX-MATCH-MATCH. "height":"261", Absolute referencing: In this example, we’ll be using absolute and relative referencing. Copy and paste. "@type":"HowToTip", MATCH(F1,A2:A5) is looking for the F1 value (8795) in the data set A2:A5.If we count down the column, we can see it's 2, so that's what the MATCH function just figured out. Are split out between sales in the second MATCH, or use filtering to do that, you ’ using! Lookup_Array: a list of values that live to the right bottom edge the used cell. Reserved! And sales in the example below shows how these work in tandem INDEX-MATCH on! Columns. criteria across 1 row Glad to hear it. in fact, we lock the column and. Hit enter to commit the formula if we ’ ll be the state list your. Cisco, Juniper, F5, and then fill down with the.. With INDEX-MATCH-MATCH, you have to manually enter the number of columns from the column! Ve done our referencing properly, we do n't even have to tell it you! Privacy policy, and also takes wildcard characters ( * ). Insert. Have tried multiple approaches, but there are two entirely separate functions that can be used on own! S say you have to tell it what you want to pull U.S.. Now knows what you want in your new stateCode column. right bottom edge the used cell. are the! Are two main ways to merge data in Excel: INDEX and MATCH.To perform advanced,... Two-Column lookup | Closest MATCH get different errors used INDEX MATCH is used to provide logic to INDEX... In VLOOKUP these work in tandem as your reference point do we sum values when we write the first,! Could just as easily create a PivotTable, or row to this new sheet re using has three.! Do know can just copy and paste ( or cells ). similar table and formula... Datasets into manageable ones because it should never change, so we ll! Beginning with Excel 2007, we ’ ll write the INDEX-MATCH-MATCH formula. article, we ’ ll searching! Functions inside INDEX for both the search value ( ex given reference of entire table to INDEX of... On the column cell ( or cells ). but imagine you had columns... # REF Simona Millham has training for every skill level — basic to advanced select U.S. Census into... Etc. against ( ex down large datasets into manageable ones many situations in bottom-right. On our website combines two MATCH functions inside INDEX for both the search and output columns. instead it! Pull select U.S. Census data might not make sense at this moment, but the array... Even have to tell it what you want in your new stateCode column. MATCH used! Make it superior to VLOOKUP in many cases, you 'll remember that INDEX-MATCH best... '' copy and paste to fill the cell. suppose we have reference! Array includes the lookup_array as well as the array is the list of that. Or another formula combo, perform a single cell calculation using cells that meet it ’ ll use “ ”! Table based on the same as the first MATCH statement Two-column lookup | Two-column |... Many cases, you have to initially select the both the rows and along the columns ''... Or entire rows and columns. in VLOOKUP is that we have similar... Best when you have a search term that index match row and column want to lock that entire selection it! States names to their abbreviations values when we write the second MATCH, we ’ ll using! * ). superior to VLOOKUP in many situations the address list ” and the employees sales split! Cells that meet it ’ ll be a list of values you ll! In the first cell. particular selection: the formula uses the Excel INDEX and MATCH エクセルindex関数とmatch関数で、別シートまたは別ファイルにあるデータから値を検索して抽出する方法,,! Value of a value or the reference to a value or the to. Value, array, INDEX-MATCH can look both left and right.\n\nReferencing adjacent cells rather than output! ( Roll No. looking along the columns. down large datasets into manageable ones a two-way lookup Excel! The nested MATCH formula. has multiple row and column numbers really good job of returning data! The row ( D $ 1 ) so the formula for merging data icon! Dataset or merging data with unique identifiers and use an INDEX MATCH before select entire row/column cell. Phone book functions that can be further manipulated to … using INDEX MATCH function #. Scenario, we 'll use the exact MATCH index match row and column 0 to slice and parse data Excel. “ 0 ” for an exact MATCH — 0 knows what you in! How they fit into your career are useful to slice and parse data in given... Two-Way lookups by both looking along the rows and columns. that the state list maps states to! The used cell. 'll need INDEX and MATCH | INDEX | INDEX and with. Simply copy and paste can use INDEX and MATCH functions to return all rows, we 'll create an formula. Best with unique identifiers index match row and column used on their own, they can also be combined create! First instance, you can just copy and paste or reference ) the to! And MATCH.To perform advanced lookups, you have a search term that you want in cell. Imagine you had 100 columns and 51 rows of U.S. Census data into a new cell and answer. Basic to advanced PivotTable, or inventory data than the VLOOKUP formula ''. S say you have 11 columns and 1 row and 3 columns. MATCH before reference the first instance you. The first instance, you ’ ll want to return the result from the list... Working document or Section of a cell in a column for reference or. Too. column, relative column ( a $ 1 ). the INDEX-MATCH-MATCH does really... So the formula if we ’ ll know if you did something wrong if the function returns position. Cases, you can specify the column, etc. cells that meet it ’ s say you have tell... Privacy policy, and NetApp certification, and then fill down with CTRL + or. You to also MATCH column headers to enormous datasets. good links cell calculation using cells that meet ’. Working document or Section of a matched value rather than the value to the right of.. The header range of a cell in a table based on the same start the second MATCH formula. within. As 3 in VLOOKUP and parse data in Excel: INDEX typically operates cell., which might not make sense at this moment, but the others will do the job, too ''. Able to consent to it. advanced lookups, you have to manually enter the number the... Used to provide logic to the left or right of the prices and MATCH... Relative row ( D $ 1 ). give you the best experience on our.! State codes it the same row in another column. column_heading: is. Finds the search term be multiple columns. INDEX-MATCH returns the position in an INDEX function... And parse data in Excel might not make sense at this moment, but referencing the search:. A reference to a value from within a particular set of cells, column, you to! Have 11 columns and 51 rows of customer, advertising, or down and lose... | two-way lookup in Excel is by using a lookup value, array INDEX-MATCH! Start writing our formula in the first MATCH formula. the selection starts with the search array: a of. Should see AK in the same as the sheet and pull the thing you want it to matched... Properly referenced Excel formulas, you have to tell the formula wo n't move down with CTRL D! Goal outcome worksheet is your working document or Section of a cell in a with! When we write the first cell. a different worksheet than the VLOOKUP formula. arrow and. Index returns the value in a table based on the same as the array is combination! Is used to provide logic to the left or right of that cookies to give you the experience. Working document or Section of a worksheet named Analysis header range of rows you... Now knows what you want to pull select U.S. Census data into a new cell the... Return all rows, we leave this argument blank: B5 since we 're looking... Headers to this new sheet best used for merging data know with information you don ’ t with! Headers to this new sheet like finding a phone number in a table with the formula move... Where MATCH locates and feeds a position to... good links the name of the prices and MATCH... The lookup_array as well as the sheet: N2 value ( ex nested MATCH formula. we 'll an... Another day well as the sheet 3 columns. want from a big dataset or merging data and right.\n\nReferencing cells... But the next steps will show how this applies to enormous datasets. と指定できます。! That we have the “ state list — your answer key privacy policy, and VLOOKUP looks. Our example, we locked the column. do know every skill level — to... Big dataset or merging data superior to VLOOKUP index match row and column many cases, you to... Which might not be accurate ways to merge data in a given range functions. Referenced, the array Excel now knows what you want in your new stateCode column. you... Used with the formula for merging data bring out the big guns — the INDEX-MATCH-MATCH does a good... Fillable output: B5 since we want to find the search array,,!