You are on page 1of 5

Name: Andy Wiggins

Byg Software Limited


The New Byg House
29 Redstone Hill
Redhill
Surrey RH1 4AW
U.K.

E-Mail: demos@bygsoftware.com

Web: www.bygsoftware.com

Notes: This program is placed in the public domain.


All rights remain with the author.
Please let me know if it has been of use.
Purpose

Syntax

Remarks

Based on
Look up a value based the first two columns of a table.

VLOOKUP2(lookup_value1,lookup_value2,table_array,col_index_num)

lookup_value1 is found in the first column of the table array


lookup_value2 is found in the second column of the table array
table_array is the table of information in which data is looked up. Use a reference to a range or a range name
col_index_num is the column number in table_array from which the matching value must be returned

If VLOOKUP2 can't find either lookup_value, it returns the #N/A value.


All fields are required
Click here for code

http://support.microsoft.com/support/kb/articles/q59/4/82.asp
ColA ColB ColC 3 Value look up in column 1
One 4 4 35 Value look up in column 2
Two 5 10 #VALUE! Result
One 6 6
Two Four 8 One Value look up in column 1
One 5 5 5 Value look up in column 2
3 6 18 #VALUE! Result
3 5 15
33 5 12 Two Value look up in column 1
3 35 9 Four Value look up in column 2
Two 6 12 #VALUE! Result

If any cells say "N/A", press F9

You might also like