0% found this document useful (1 vote)
686 views11 pages

HLOOKUP and VLOOKUP

The document discusses lookup functions in Excel, specifically HLOOKUP and VLOOKUP. Lookup functions allow users to reference tables of data to find and return values. HLOOKUP searches horizontally across the top row of a table to find and return a value from the specified column. VLOOKUP searches vertically down the leftmost column of a table to find and return a value from the specified row. Both functions take a lookup value, table array, row or column index, and optional range lookup parameter to determine if an exact or approximate match should be returned.

Uploaded by

Chia Yin Teh
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 (1 vote)
686 views11 pages

HLOOKUP and VLOOKUP

The document discusses lookup functions in Excel, specifically HLOOKUP and VLOOKUP. Lookup functions allow users to reference tables of data to find and return values. HLOOKUP searches horizontally across the top row of a table to find and return a value from the specified column. VLOOKUP searches vertically down the leftmost column of a table to find and return a value from the specified row. Both functions take a lookup value, table array, row or column index, and optional range lookup parameter to determine if an exact or approximate match should be returned.

Uploaded by

Chia Yin Teh
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/ 11

HLOOKUP and VLOOKUP

Function
Iskandar
Using Lookup Tables and Functions

 Lookup functions

 Allow you to use tables of data to “look up”


values and insert them in another worksheet
location
 Lookup tables

 Storedata and organize it into categories


(compare values)
 Can be constructed as either exact match or
approximate match lookups
New Perspectives on Microsoft Excel 2010 2
Using Lookup Tables and Functions
 Lookup values (value you are trying to find)

Need to match one of the compare


values
Can be used as part of a formula

3
HLOOKUP and VLOOKUP Functions

 Search for a lookup value in the first row of a two-dimensional array:


=HLOOKUP(lookup value,table array,row index number,range lookup)
 Lookup value – value to be found
 Table array – range of cells to be searched and data to be returned
 Row index – row containing value to be returned
 Range lookup – “0” or “false” for exact match, “1” or “true” for
approximate

4
HLOOKUP and VLOOKUP Functions

 Search for a lookup value in the first column of a two-dimensional array:


=VLOOKUP(lookup value,table array,column index number,range lookup)
 Lookup value – value to be found
 Table array – range of cells to be searched and data to be returned
 Column index – column containing value to be returned
 Range lookup – “0” or “false” for exact match, “1” or “true” for approximate
 Range lookup value is optional, but important
 Example: if range lookup is “true”, then a student
with mark of 65% will receive correct grade of “C”
 If range lookup is “false”, the correct grade will not
be found

5
Using the VLookup Function to Find
an Exact Match
 Searches a lookup table and, based on what you entered, retrieves the
appropriate value from that table
 Searches vertically down the first column of the lookup table
 Syntax:

6
Using the VLookup Function to Find
an Exact Match

7
Using the VLOOKUP Function to Find
an Approximate Match
 Returns a value based on an approximate match lookup
 Searches the first column of the table until it locates the largest value that is
less than the lookup value
 Then moves across the row in the table to retrieve the corresponding value

8
Using the VLOOKUP Function to Find
an Approximate Match

9
Looking Up Values Using the
HLOOKUP Function
 Searches horizontally across top row of lookup table and retrieves the value in
the column you specify
 Use when comparison values are located in the first row of the lookup table
and you want to look down a specified number of rows to find the data to
enter in another cell
 Syntax:

10
Looking Up Values Using the
HLOOKUP Function
 Major difference between HLOOKUP and VLOOKUP functions is the way
lookup tables are organized

You might also like