In this example, we have the branch numbers and the June sales amounts in columns
A and
B.
The lookup table has a third column that contains the annual sales for each branch.
[E10:E15]
Create a Vlookup formula in column C.
(=VLOOKUP(A2, $C10:E15, 2).
This formula will search the leftmost column of the table range
($C$10:$E$15) for the value in A2
(300).
When the value 300 (A2) is found at row 11, the formula will look in the second
2 column of the table to get the branch name.
In column D, create a similar formula except the column number will be
3 instead of
2 because we want the annual sales for the selected branch.
(=VLOOKUP(A2, $C10:E15, 3)
The results of the formulas are shown below: