

When entered in column B, COLUMNS($A$1:B$1) evaluates to 2 telling VLOOKUP to return a value from the 2 nd column in the table array.
#How to use vlookup in excel video tutorial full
=VLOOKUP(A2, Jan!$A$2:$B$6, 2, FALSE)įor full details, please see VLOOKUP from another workbook in Excel. To VLOOKUP between two workbooks, include the file name in square brackets, followed by the sheet name and the exclamation point.įor example, to search for A2 value in the range A2:B6 on Jan sheet in the Sales_reports.xlsx workbook, use this formula: Excel will insert a reference with the correct syntax automatically, sparing you the trouble to check the name and troubleshoot. Instead of typing a sheet name directly in a formula, you can switch to the lookup worksheet and select the range there.
#How to use vlookup in excel video tutorial how to
For more info, please see How to reference another sheet in Excel. If the sheet name contains spaces or non-alphabetical characters, it must be enclosed in single quotation marks, like 'Jan Sales'!$A$2:$B$6.In a similar manner, you can Vlookup data from the Feb and Mar sheets: Putting the arguments together, we get this formula:ĭrag the formula down the column and you will get this result: Range_lookup is set to FALSE to look up an exact match.Please pay attention that we lock the range with absolute cell references to prevent it from changing when copying the formula to other cells.Ĭol_index_num is 2 because we want to copy a value from column B, which is the 2 nd column in the table array. To refer to it, prefix the range reference with the sheet name followed by the exclamation point: Jan!$A$2:$B$6. Table_array is the range A2:B6 on the Jan sheet.Lookup_values are in column A on the Summary sheet, and we refer to the first data cell, which is A2.

For this, we define the following arguments: VLOOKUP(lookup_value, Sheet!range, col_index_num, )Īs an example, let's pull the sales figures from Jan report to Summary sheet. The generic formula to VLOOKUP from another sheet is as follows: The difference is that you include the sheet name in the table_array argument to tell your formula in which worksheet the lookup range is located. It's very similar to a regular VLOOKUP formula that searches on the same worksheet. Dynamic VLOOKUP to pull data from multiple sheets into different cellsįor starters, let's investigate a simplest case - using VLOOKUP to copy data from another worksheet.

