Advanced Vlookup Examples
Advanced Vlookup Examples
Column: 2 3 4 5 6 7 8 9
Order ID OrderDate Month Region Employee Item Units Cost Total
10003 1/13/2011 Jan Midwest Smith Pencil 67 1.29 86.43
lookup_value: The value to search in the first column of the table array. Lookup_value can be a value or a reference.
table_array: This is a reference to a range or a range name.
The values in the first column of table_array are the values searched by lookup_value. These values can
col_index_num: The column number in table_array from which the matching value must be returned.
A col_index_num of 1 returns the value in the first column in table_array (same as the lookup_value).
A col_index_num of 2 returns the value in the second column in table_array, and so on.
range_lookup: A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate ma
If TRUE or omitted, an exact or approximate match is returned.
If an exact match is not found, the next largest value that is less than lookup_value is returned.
If FALSE, VLOOKUP will only find an exact match. In this case, the values in the first column of table_arr
If there are two or more values in the first column of table_array that match the lookup_value, the firs
If an exact match is not found, the error value #N/A is returned.
ues searched by lookup_value. These values can be text, numbers, or logical values.
hing value must be returned.
mn in table_array (same as the lookup_value).
olumn in table_array, and so on.
P to find an exact match or an approximate match:
Notes
Manual VLOOKUP formula - Does not change unless formula is changed.
Lookup Value Changes - Grab Line Item Automatically using direct reference
Column Index Number Changes - Grab Year Column Number Automatically using VLOOKUP()
Lookup Range Changes - Get Sheet/Range Reference using INDIRECT()
Excel Exposure
Book Sales
2011 2012 2013 Total