LOOKUP Function Examples – Excel, VBA, & Google Sheets
This Excel Tutorial demonstrates how to use the Excel LOOKUP Function in Excel to look up a value, with formula examples.
LOOKUP Function Description:
The LOOKUP Function Looks up values either horizontally or vertically.
Formula Examples:
Syntax and Arguments:
The Syntax for the LOOKUP Formula is:
=LOOKUP(lookup_value,lookup_vector,result_vector)
Function Arguments ( Inputs ):
lookup_value – The value you want to search for.
lookup_vector –
result_vector –
Additional Notes
LOOKUP Examples in VBA
You can also use the LOOKUP function in VBA. Type:
application.worksheetfunction.lookup(lookup_value,lookup_vector,result_vector)
For the function arguments (lookup_value, etc.), you can either enter them directly into the function, or define variables to use instead.
How to use the LOOKUP Function in Excel:
To use the AND Excel Worksheet Function, type the following into a cell:
=AND(
After entering it in the cell, notice how the AND formula inputs appear below the cell:
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=LOOKUP(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
For more information about the LOOKUP Formula visit the
Microsoft Website.