HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The VLOOKUP function is a premade function in Excel, which allows searches across columns
The VLOOKUP function is a premade function in Excel, which allows searches across columns.
It is typed =VLOOKUP
and has the following parts:
=VLOOKUP(lookup_value, table_array,
col_index_num, [range_lookup])
Note: The column which holds the data used to lookup must always be to the left.
Note: The different parts of the function are separated by a symbol, like comma ,
or semicolon ;
The symbol depends on your Language Settings.
Note: Both 1 / 0 and True / False can be used in Range_lookup.
How to use the VLOOKUP function.
H4
)=VLOOKUP
H3
),
)A2:E21
),
)2
)1
)H3(7)
Let's have a look at an example!
Use the VLOOKUP function to find the Pokemon names based on their ID#:
H4
is where the search result is displayed. In this case, the Pokemons names based on their ID#.
H3
selected as lookup_value. This is the cell where the search query is entered. In this case the Pokemons ID#.
The range of the table is marked at table_array, in this example A2:E21
.
The number 2
is entered as col_index_number. This is the second column from the left and is the data that is being looked up.
An illustration for selecting col_index_number 2
.
Ok, so next - 1
(True) is entered as range_lookup. This is because the most left column has numbers only. If it was text,
0
(False) would have been used.
#N/A
value. This is because there have not been entered any value to the Search ID# H3
.
Let us feed a value to it, type H3(7)
:
7
.
One more time, type (H3)4
:
4
as its ID#. That's great.