Vlookup(z, A, c, modifier) Takes a real input z, an array A of mixed real, complex, or string values, and a comparison criterion modifier. Vlookup matches z in the first column of A, subject to the conditions of modifier, and returns the result(s) in column c in the same rows as the matched elements.
z must be a scalar, unless you specify "range" as the comparison criterion, in which case it can be a 2-element column vector.
Comparison Modifiers for Match and Lookup Functions
The following modifiers are supported by the Match and lookup functions provided as part of the Data Analysis Extension Pack:
Comparison
Meaning
"near"
Returns the value closest to z.
"gt"
Matches everything greater than the value z.
"lt"
Matches everything less than the value z.
"geq"
Matches everything greater than or equal to z.
"leq"
Matches everything less than or equal to z.
"not"
Matches everything not equal to z.
"range"
Matches everything in the specified range. z must be a two element vector containing the upper and lower bounds of the range.