0% found this document useful (0 votes)
20 views

HLOOKUPVSVLOOKUP

The document explains the differences between the HLOOKUP and VLOOKUP functions in Excel, highlighting that HLOOKUP performs a horizontal lookup while VLOOKUP performs a vertical lookup. It provides the syntax and parameters for both functions, including examples of how to use them effectively. Additionally, it emphasizes the importance of using exact match for accurate results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

HLOOKUPVSVLOOKUP

The document explains the differences between the HLOOKUP and VLOOKUP functions in Excel, highlighting that HLOOKUP performs a horizontal lookup while VLOOKUP performs a vertical lookup. It provides the syntax and parameters for both functions, including examples of how to use them effectively. Additionally, it emphasizes the importance of using exact match for accurate results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

HLOOKUP

VS
VLOOKUP
HLOOKUP
The Excel HLOOKUP function
stands for horizontal lookup
and is used to search for a
specific value in a table.
The HLOOKUP function is
similar to the VLOOKUP
function , but rather than
looking from left to right, the
HLOOKUP function searches
from the top down.
Syntax of the HLOOKUP Function
=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

• lookup_value – The value you are searching for, which can be text, number, or a
cell reference.
• table_array – The range where you will perform the lookup. The range must start
with the row containing the lookup value and should include the row from which
you want to return the result.
• row_index_num – The row number from which you want to return the result. The
number should be relative to the first row in the selected range in table_array.
• [range_lookup] – Which range lookup method should be used. In most cases
we are using exact match and therefore if this is your first time using the function
– we recommend using 0 (zero) or FALSE, both are for “Exact Match” – Go to
the exact match to the value I’m looking for. 1 stands for “Approximate match”,
and it should not be used on most cases so we’ll skip it for now.
EXAMPLE:
PRACTICE
ACTIVITY 1
VLOOKUP
VLOOKUP helps us lookup a value in table, and
return a corresponding value.

A good example for VLOOKUP in real life is our


“Contacts” app on the phone:

We lookup for a friend’s name, and the app returns


its number.
Syntax of the VLOOKUP Function
=VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]

• lookup_value – what we are looking for – this could be a text, number, or a


single cell reference
• table_array – the range in which we will lookup for our value and its
corresponding result. Please note that the range must start from the column
which contains the value, and should contain the column in which we have our
result.
• col_index_num – What is the column number from which we want to return the
result? The number should be relative to the first column in the selected range in
table_array.
• [range_lookup] – Which range lookup method should be used. 0 is the default,
so you should always type 0 (or FALSE), which means “Exact Match” – Go to the
exact match to the value I’m looking for. 1 stands for “Approximate match”, and it
should not be used on most cases so we’ll skip it for now.
• lookup_value – we typed 646. We could as well reference a cell
containing the number 646.
• table_array – This is where we perform our lookup. Our table
starts at column B, as this is the column which contains our ID
number. We can see that our table contains the Age column as
well, as we would like to return the Age from it.
• col_index_num – we typed 2, as column C’s relative position is
2, if we consider that our table starts at column B.
• [range_lookup] – We are looking for an exact match, hence we
type 0.
• So what happens here is that the function goes
to the table in range B1:C5, looks up in column
B for the value 646, goes to the 2nd column in
that table (Column C), and returns the
corresponding value from it – 72.
ACTIVITY 2

You might also like