Description
This is a complex and confusing function and is hard to explain but ill try my hardest.
Basically this function returns a value from another table dependant on what value you entered into the current table.
See example for more details. The V in VLOOKUP stands for Vertical, the function looks up a value vertically.
Template
=VLOOKUP(CellsToBeChecked,TableToCheckForValues,ColumnOfCorrespondingValue)
Example
=VLOOKUP(B2:B5,F2:G5,2)
[attachment=84]
In this example;
- CellsToBeChecked is the Code Column
- TableToCheckForValues is the complete table on the right
- ColumnOfCorrespondingValue is the second column of the right hand table.
It looks for the CellsToBeChecked value in the TableToCheckForValues Table and then returns the value from the column number supplied ColumnOfCorrespondingValue.
I have entered the VLOOKUP code into the type column of the first table.