Excel LOOKUP Function: Syntax, Examples & Tips

The LOOKUP formula is used to search for a value in a range and return a corresponding value from another range efficiently.
Excel
=LOOKUP(lookup_value, lookup_vector, [result_vector])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single LOOKUP formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is a LOOKUP Formula in Excel?
  3. A Practical Example
  4. LOOKUP Formula
  5. Result of the Formula
  6. Why Use LOOKUP?
  7. Key Takeaways:
  8. Example use case

Parameters

lookup_value:
The value you want to search for in the lookup_vector. This can be a number, text, or a cell reference.

lookup_vector:
The range of cells that contains the values you want to search through. This range must be a single row or a single column.

result_vector:
The range of cells that contains the values you want to return. This range must be the same size as the lookup_vector. If omitted, Excel returns the value from the lookup_vector.

What is a LOOKUP Formula in Excel?

The LOOKUP function in Excel is a versatile tool that allows you to search for a value in a range and return a corresponding value from another range. It is particularly useful for retrieving data from a table based on a specific criterion.

In simpler terms, the LOOKUP function helps you find information quickly and efficiently, making it easier to analyze and work with data.

A Practical Example

Imagine you are managing a product inventory list in an Excel spreadsheet, and you have the following data:

Product Inventory Table:

Product IDProduct NamePrice
101Widget A25
102Widget B30
103Widget C20
104Widget D40
105Widget E35

You want to find the price of "Widget C".

LOOKUP Formula

To retrieve the price for "Widget C", you would use the LOOKUP formula as follows:

Excel
=LOOKUP("Widget C", B2:B6, C2:C6)

Breakdown of the Formula:

  • "Widget C": This is the value you are searching for in the lookup range.
  • B2:B6: This is the range where the function will look for the value "Widget C".
  • C2:C6: This is the range from which the corresponding value (price) will be returned.

Result of the Formula

When you apply the formula, it searches for "Widget C" in the Product Name column and returns the corresponding price from the Price column. The output would be:

Price of Widget C
20

Here, the price of Widget C is retrieved as 20.

Why Use LOOKUP?

The LOOKUP function is particularly useful when you need to find specific information from a dataset without manually searching through it. It allows you to quickly access relevant data, enhancing your productivity and efficiency.

Key Takeaways:

  • LOOKUP: Searches for a value in a range and returns a corresponding value from another range.
  • Efficient Data Retrieval: Helps you quickly find information without manual searching.
  • Common Use Cases: Ideal for inventory management, sales data retrieval, and any scenario where you need to extract specific information from a dataset.

Understanding how to use the LOOKUP function can significantly improve your data management skills in Excel, enabling you to access important information with ease.

Happy looking up!

Example use case

You have a table where Column A contains product IDs and Column B contains their corresponding prices. You can use the LOOKUP function to find the price of a specific product by entering its ID. This allows for quick access to product pricing information, aiding in inventory management and sales analysis without the need for complex database queries.

Beyond the LOOKUP function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.