Use INDEX MATCH Across Multiple Sheets in Google Sheets

INDEX MATCH makes it easier to find the data you need, especially if you have multiple sheets across Google Sheets from which to retrieve data. Google Sheets VLOOKUP is typically used when you need to locate data in your sheet that matches a specific key record. However, VLOOKUP has its limitations. You should therefore learn INDEX MATCH to boost your skills for the job.


A Sample of Practice Spreadsheet

You can copy the spreadsheet that we’ve used to prepare this article.


Step by Step Process to Use INDEX MATCH Across Multiple Sheets in Google Sheets

To show how to use the INDEX and MATCH functions jointly, we must first have a dataset. To walk you through the procedure step by step, we’ll utilize the dataset featured below.

Dataset for using index match across multiple sheets in google sheets

Assume we have a dataset of a few students that includes information about their ID number, the subjects they excel in, and the points they earned in those core subjects.


Step 1: Using the INDEX Function to Lookup Values

  • We will first open three headers, for example, Name, Details, and Result. We will use cells B4, C4, and D4 in this case, correspondingly.

header title for index match function in google sheets

  • To gather the information that we will search for later, we will use the cells B5, C5, and D5 below.
  • Assume we are looking for how many points Clark receives in the subject in which he excels. So, underneath the Name header, we will write Clark, and below the Details header, we will write Points.

providing data for search through index match function in google sheets

  • Now, in cell D5, we will use the INDEX Function to retrieve the point he was awarded.

syntax of index function

  • We will first establish a data reference to aid in the search query. For this example, the reference data is in the Data sheet.
  • Check the following formula,
=INDEX(Data!$B$5:$E$9,

providing data reference in index function

Read More: Find All Cells With Value in Google Sheets (An Easy Guide)


Step 2: Finding Row Number Using MATCH Function

  • Now, using the MATCH function, we will choose the row value for the INDEX function.
  • First, we’ll use the MATCH function to choose the cell that will be compared to the values in the row. It is cell B5 in this situation.
=INDEX(Data!$B$5:$E$9,MATCH($B$5,

finding row value using match function

  • After that, we must choose the range to search within. For example B5:B9.

use of match function within index function

NOTE: You can do this by tapping the F4 key with the cursor on the cell reference.
  • Finally, we will use 0 at the conclusion because we want an exact match.
=INDEX(Data!$B$5:$E$9,MATCH($B$5,Data!$B$5:$B$9,0)

matching row values using match function

NOTE: The range must consist of only one row or one column.

Step 3: Applying MATCH Function to Find Column Number

  • To set the column value for the INDEX function using the MATCH function once more, we will follow the same procedure.
  • The cell that will be compared in this instance is C5.
  • The range of the column would therefore be B4:E4.
  • For an exact match once more, we’ll choose 0.
  • Final formula:
=INDEX(Data!$B$5:$E$9,MATCH($B$5,Data!$B$5:$B$9,0),MATCH($C$5,Data!$B$4:$E$4,0))

matching column value using match function across multiple sheets in google sheets

NOTE: You can do this by tapping the F4 key with the cursor on the cell reference.

Step 4: Finalizing the Output

  • Now, the formula will display the desired result if you press ENTER after it.

index match function output

As you can see in the figure above, we searched for Clark and his points, and the INDEX MATCH function returned the value 14, which is what he received.


Similar Readings


Implementing Data Validation Tool in the Worksheet

Data validation is a strong tool that can assist you in maintaining clean and accurate data in your worksheets. To understand how to use Data validation with INDEX MATCH, look at the steps below.

Steps:

  • Click Data > Data validation in the top menu from the Toolbar.

how to find data validation in google sheets

add rule option in data validation dialogue box

  • There will be a new dialog box. Choose where you wish to apply it in the range, for example, cell B5.
  • Criteria > Drop Down (from a range)
  • Select the data range by selecting the box below afterward.

applying data validation rules

  • For this example, the range should be from B5 to B9.
  • Click OK to select the range.

setting data range from another sheets for data validation

  • Then the following window will appear after selecting the range.

data validation rule set up menu

  • Thereafter, click Done to see the drop-down menu.

use of data validation to create drop down menu

  • In cell C5, we can repeat the process to improve the INDEX MATCH function and search criteria.

use of drop down menu in index match function

Our search parameters can now be expanded with the aid of a drop-down menu, allowing us to quickly obtain any information.

Read More: How to Create Conditional Drop Down List in Google Sheets


How to Use IMPORTRANGE Function to Import Data from a Different Google Sheets

Assume that the source data is located in a different spreadsheet. You can import data from one spreadsheet into another in Google Sheets using the IMPORTRANGE function. We must employ the IMPORTRANGE function to use the data from that spreadsheet.

syntax of importrange function

From the spreadsheet, we will need two items. The spreadsheet link or URL is one, while the cell range is another. With the help of the previous example, we will demonstrate the use of the IMPORTRANGE function.

Steps:

  • We must copy the URL or link to the source article. We’ll also need it to verify the column and row for references.

how to copy url of a different google spreadsheet

  • We will use the following formula as the cell reference for the INDEX function in cell D5.
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$5:$E$9")

use of importrange in index match function

  • Utilizing the MATCH function, we will set row values as follows:
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$5:$E$9"),MATCH($B$5,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$5:$B$9"),0)
  • Once more, we must use the following formula to set the column values. The final formula is:
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$5:$E$9"),MATCH($B$5,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$5:$B$9"),0),MATCH($C$5,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1u-hoaq7tEZTzv2Qcp9QFmDWPjhgQv4rcQV3VBAfweHU/edit#gid=0","DATA!$B$4:$E$4"),0))
  • Press ENTER to see the result.

use of index match function across multiple sheets in google sheets using importrange

NOTE: Both the URL and the data range must be enclosed in quotation marks.

As you can see, using the IMPORTRANGE function, we were still able to obtain a similar result even if the original data was in a different sheet. We can also search for data in the source spreadsheet using the drop-down list.


What Makes INDEX MATCH Better than VLOOKUP in Google Sheets?

  • Lookup Range:
    In contrast to VLOOKUP, which can only utilize a single range for both the lookup and return ranges, INDEX MATCH lets you specify independent lookup and return ranges.
  • Column Reference:
    With INDEX MATCH, you can specify the column number of the cell you want to return as an optional argument in the MATCH function, which allows you to return a value from a specific column in the return range. With VLOOKUP, you must specify the column number as a fixed argument in the function, which means you can only return a value from a specific column.
  • Lookup Type:
    Both INDEX MATCH and VLOOKUP allow you to specify the type of match you want to use, but INDEX MATCH provides more options for the match type.
  • Performance:
    In general, INDEX MATCH outperforms VLOOKUP in terms of speed and effectiveness, especially when dealing with huge data sets. This is because INDEX MATCH may use the MATCH function to rapidly find the row or column having the match while VLOOKUP must search across the complete lookup range to get a match.

Read More: Combine VLOOKUP and HLOOKUP Functions in Google Sheets


Conclusion

One of the best parts about using INDEX MATCH across multiple sheets in Google Sheets is the ability to create a dynamic link between these sheets. This can save a lot of time and effort, as you don’t have to manually update the data in the destination sheet every time the source data changes. Overall, INDEX MATCH is not only a powerful but also a versatile tool for working with data in Google Sheets. Check OfficeWheel for more relevant content.


Related Articles

Ishrak Khan

Ishrak Khan

Ishrak Khan is a writer and urban planner born in Dhaka, Bangladesh, one of the largest mega-cities. He is a professional Content Developer closely working with OfficeWheel. He simply likes to enthrall his readers. He loves Football, Nico Robin, Deserts, and Twix. If you like the post, give him a heart on Instagram.

We will be happy to hear your thoughts

Leave a reply

OfficeWheel
Logo