In Microsoft Excel, it’s a common scenario to lookup and then extract data from multiple sheets based on different criteria. The combination of INDEX and MATCH functions is a suitable method that can serve the purpose of pulling out data from multiple sheets into a particular one.
In this article, you’ll get to learn how we can use INDEX and MATCH functions across multiple worksheets with appropriate illustrations.
Download Practice Workbook
You can download the Excel workbook that we’ve used to prepare this article.
Use of INDEX MATCH Functions across Multiple Sheets in Excel
In the following picture, you can see multiple worksheets open in a single workbook. The first sheet has been named as Summary. In this sheet, the sales of a particular device or component on a particular date will be extracted from other corresponding worksheets.
Below is the screenshot of the second worksheet named Notebook where the sales of notebooks on some successive dates have been recorded. Similarly, if we go through the rest of the worksheets available then we’ll find the sales of other devices or components- Desktop, Monitor, Processor, and Motherboard.
What we’ll do now is in the Summary sheet, we’ll extract the sales of notebooks on 1-Sep-2021 from the Notebook sheet.
📌 Step 1:
➤ In the Notebook worksheet, select the entire table first.
➤ From the Styles group of commands under the Home ribbon, select any table you prefer from the Format as Table drop-down.
📌 Step 2:
➤ Go to the Formulas tab and select the Name Manager command from the Defined Names drop-down.
📌 Step 3:
➤ Edit the name of the table here and type Notebook in the Name box.
➤ Press OK.
📌 Step 4:
➤ Similarly, follow the previous step for all other worksheets and name the corresponding tables with the device or components present in the Summary sheet.
➤ Close the Name Manager dialogue box and you’re now ready to assign the formula in the Summary sheet.
📌 Step 5:
➤ In the first output Cell D5, type the following formula:
➤ Press Enter and you’ll get the sales value of notebooks on 1-Sep-2021.
📌 Step 6:
➤ Now use Fill Handle to fill down the rest of the cells in Column D.
Finally, you’ll be displayed the sales of other components or devices on the specified dates. If you change a date for any device in Column C, you’ll find the sales value of the particular device on that specified date at once. Similarly, you can change the device name too in Column B and you’ll be shown the corresponding sales value on the particular date.
- Excel INDEX MATCH to Return Multiple Values in One Cell
- INDEX MATCH Multiple Criteria with Wildcard in Excel (A Complete Guide)
- [Fixed!] INDEX MATCH Not Returning Correct Value in Excel (5 Reasons)
- INDEX MATCH vs VLOOKUP Function (9 Examples)
- INDEX+MATCH with Duplicate Values in Excel (3 Quick Methods)
Alternative (VLOOKUP) to the Use of INDEX MATCH Functions across Multiple Sheets
There is a suitable alternative to the INDEX and MATCH functions and that is the VLOOKUP function. The VLOOKUP function looks for a value in the leftmost column of a table and then returns a value in the same row from a specified column.
Since we’re using the previous dataset, let’s have a look at how we can apply the VLOOKUP function in the output Cell D5 now. The required formula is:
After pressing Enter only, you’ll get the first output as found in the previous method.
Now use the Fill Handle option to autofill the rest of the output cells in Column D and you’ll be displayed the corresponding sales values right away.
I hope these two methods mentioned above will now help you to apply them in your Excel workbook to lookup and extract data from multiple worksheets. If you have any questions or feedback, please let me know in the comment section. Or you can check out our other articles related to Excel functions on this website.
- Index Function to Match and Return Multiple Values Vertically in Excel
- IF with INDEX-MATCH in Excel (3 Suitable Approaches)
- Excel INDEX MATCH with Multiple Criteria (4 Suitable Examples)
- How to Use INDEX-MATCH Formula in Excel to Generate Multiple Results
- Formula Using INDIRECT INDEX MATCH Functions in Excel
- INDEX MATCH Multiple Criteria in Excel (Without Array Formula)
- Excel Index Match single/multiple criteria with single/multiple results