# VLookup for Multiple Sheets with Example

## VLookup for Multiple Sheets with Example – Overview

How To VLookup in Multiple Tables in excel is a video demonstration of performing VLookup for values in more than one data range or a table.

VLookup helps you to lookup for values in a single data range or a table. However, using vLookup with the IFERROR function, we can lookup in more than one data range or table.

So far, we have learned how to look up values in the same workbook and values from a different workbook. Through this demonstration, we help you to learn how to perform vlookup and look for values in more than one data range.

### The IFERROR Function

We also cover the IFERROR function in this video demonstration. By the end of this video demonstration, you should be comfortable to use IFERROR along with VLookup. In case if you are not familiar with the nested function concept, please visit this article to familiarise yourself with the idea of the nested functions.

### VLookup Practice Data File

If you plan to practice and follow along with me in this demonstration, kindly ensure to download the practice workbook on your computer.

If you are considering to practice more, you may download a free Excel database in xlsx format using the link below.

### Lets Roll!

To begin, We Run the vlookup and look for employee IDs in table 1 to find the full name of a given employee. The employee IDs that you see here have come from all three tables [Table 1, Table 2, and Table 3] worksheets listed in the practice workbook. We now run the following VLookup:

``VLOOKUP(A2, 'Table 1'!A:B, 2, 0)``

Looking in one table does not fetch the names of all the employees and return us an error #N/A, indicating the value is not found in the given range.

To handle this situation, we make use of the IFERROR function. The IFERROR function handles errors in functions and formulas. The IFERROR function takes two arguments, value and value_if_error.

Now that we know what the IFERROR function capabilities are, let us creatively use this function to run a second VLookup in case the first one returns an error. When the VLookup cannot find lookup value in the given range, it returns #N/A error. Here are some of the errors with their cause and description that you might come across in Microsoft Excel that can be handled using the IFERROR function.

### Run VLookup inside IFERROR Function

We now place the VLookup function as the first argument of the IFERROR function. If the V lookup cannot find the given value in the specified range, it returns the #N/A error. Upon receiving #N/A error, the IFERROR function triggers the second argument of the IFERROR function. Using this second argument segment as an opportunity, we place the second we look up To lookup values in table 2. The following is the sample of the function:

``IFERROR(VLOOKUP(A2, 'Table 1'!A:B, 2, 0), VLOOKUP(A2, 'Table 2'!A:B, 2, 0))``

We now have two VLookups in action. The first one is passed as the first argument of the IFERROR function, which is looking for values in table 1. If the first lookup returns error, the second argument of the IFERROR function gets engaged where we have 2nd VLookup looking for values in table 2.

You may see an error when running lookups in both tables where the values could not be found in table 1 or table 2.

To handle the situation, we place the entire statement of the IFERROR function along with both the VLookups, as the first argument of a new IFERROR function.

In case of failure of both these lookups, we get an error in return. The error triggers the IFERROR function to activate the second argument. Using this trigger as an opportunity, we place the third VLookup to lookup for values in table 3 in the second argument of the IFERROR function. The following is the statement with two IFERROR functions and three VLookups.

``=IFERROR(IFERROR(VLOOKUP(A2, 'Table 1'!A:B, 2, 0), VLOOKUP(A2, 'Table 2'!A:B, 2, 0)), VLOOKUP(A2, 'Table 3'!A:B, 2, 0))``

Since we have the values are taken from table 1, table 2, 2, and table 3, upon dragging the function down, all the names shall be found.

### VLookup in Multiple Tables Video Tutorial

If you desire to watch and learn how to use vlookup in excel, here is a quick demonstration on how to do vlookup in excel to lookup for values in more than one table.

## Excel Learning Series – TOC

We hope you find this article useful. In case you are stuck and or need help, feel free to drop a comment below or submit your question. Do share it further and add your feedback about the article in the comments section.