Description

The VLookup function performs a vertical lookup by searching for a value in the first column of a table and returning the value in the same row in the indexNumber position.

Syntax

The syntax for the VLookup function in GoFormz is:

VLookup(value, range, indexNumber, [approximate_match])

Parameters or Arguments

value
The value to search for in the first column of the table.
range
Two or more columns of data that is sorted in ascending order.
indexNumber
The column number in table from which the matching value must be returned. The first column is 1.
approximate_match
Enter "false" to find an exact match. Entering "true" to find an approximate match is not supported at this time

Example

Set up a table with the following values

Order IDProductUnit PriceQuantity
10247Apples$14.0012
10249Oranges$9.8010
10250Bananas$34.805
10251Pears$18.609
12052Grapes$42.3040

Example formulas:

FormulaDescriptionResult
=VLookup(10251, [Table]![1][1]:[2][5], 2, "false")Returns value in 2nd columnPears
=VLookup([Table]![1][3], [Table]![1][1]:[3][5], 3, "false")Returns value in 3rd column$34.80
=VLookup(10251, [Table]![1][1]:[4][5], 4, "false")Returns value in 4th column9
=VLookup(10248, [Table]![1][1]:[2][5], 2, "false")Returns value in 2nd column (no exact match)blank