2. LOOKUP FUNCTIONS IN MS EXCEL
• The Microsoft Excel LOOKUP function returns a
value from a range (one row or one column) or
from an array.
• The LOOKUP function is a built-in function in
Excel that is categorized as a Lookup/Reference
Function.
• It can be used as a worksheet function (WS) in
Excel.
• As a worksheet function, the LOOKUP function
can be entered as part of a formula in a cell of a
worksheet.
3. LOOKUP Function (Syntax #1)
• In Syntax #1, the LOOKUP function searches for value in the lookup_range and
returns the value in the result_range that is in the same position.
• The syntax for the LOOKUP function in Microsoft Excel is:
• LOOKUP( value, lookup_range, [result_range] )
4. HLOOKUP in Excel
• Microsoft Excel defines HLOOKUP as a function that “looks for a value in the
top row of a table or array of values and returns the value in the same column
from a row you specify”.
• Syntax of Excel HLOOKUP
• The syntax of the HLOOKUP function in Excel is as follows:
• =HLOOKUP(lookup_value, table_array, row_index_num, range_lookup)
5. Excel INDEX Function
• The Excel INDEX function returns the value at a given position in a range or array.
• You can use INDEX to retrieve individual values or entire rows and columns.
• INDEX is often used with the MATCH function, where MATCH locates and feeds a position to
INDEX.
• Purpose IS TO Get a value in a list or table based on location
• Return value IS TO The value at a given location.
• Syntax IS =INDEX (array, row_num, [col_num], [area_num])
6. MATCH Function
• MATCH is an Excel function used to locate the position of a lookup value in a row,
column, or table. MATCH supports approximate and exact matching,
and wildcards (* ?) for partial matches. Often, MATCH is combined with the INDEX
function to retrieve a value at a matched position.
• =MATCH (lookup_value, lookup_array, [match_type])
7. Excel CHOOSE Function
• The Excel CHOOSE function returns a value from a list using a given position or
index. For example, CHOOSE(2,"red","blue","green") returns "blue", since blue is
the 2nd value listed after the index number. The values provided to CHOOSE can
include references.
• =CHOOSE (index_num, value1, [value2], ...)