How to use vlookup in excel
- Get link
- X
- Other Apps
What is Vlookup?
Vlookup stands for "vertical lookup". It is function that makes excel search for a certain value in a column in order to return a value from a different column in the same row.
About the vlookup function:
A vlookup function exists of 4 components:
1. The value you want to look up.
2. The range in which you want to find the value and the return value.
3. The number of the column with in your defined range that contains the return value.
4. 0 or false for an exact match with the value you are looking for 1 or true for an approximate match.
=Vlookup([value],[range],[column number],[false or true])
Example:-
In our example we have a list of fruits, the amount in stock and the current price. We want to find the amount of all fruits quickly in this table.
First put on the cursor where you want to put the amounts:
In our selected cell we start put the formula =vlookup(:
Then we select the value we want to lookup, in this case it's "fruits" in cell B2:
Then select the range of table array in which we want to find the lookup value and the return value. In this case it is (H7:I11) then fix the table array press F4 one time ($H$7:$I$11):
Then the number of the column with in the defined range in which we want to look for the return value. In this case it is column 2, and "0" or "False" for an exact match with the lookup value "Fruits":Then drag the amount then automatic fill in amount column by fruits:
In this example we only have a small list of fruits, but imagine you have a long list of data and you wish to use a certain value elsewhere in your spreadsheet. Using Vlookup (and Hlookup) the user only has to change a certain value in one worksheet and it will automatically be changed in all othe relevant places.
But what if we are not certain about the lookup value? This is when the approximate match might be useful.
- Get link
- X
- Other Apps
Comments
Post a Comment