Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the LOOKUP function in Excel

A common task in Excel is searching your spreadsheet for certain values, and using a function to do this and return a corresponding value can be very useful. The LOOKUP function in Excel is one way to do this. While the VLOOKUP and HLOOKUP functions are more powerful, the LOOKUP function is great for quick and simple lookups to keep your spreadsheet running smoothly.

Syntax

The LOOKUP function has two forms: vector form and array form.

Vector form

This is the form of the function that you’ll typically use. You specify the lookup value and the search and results vectors, and the function will find the best match.>/p>

=LOOKUP(lookup_value, lookup_vector, [result_vector])
  • lookup_value is the item you are searching for
  • lookup_vector is the range you want to search in. This can only be one column or row
  • result_vector is an optional input. It’s the range you want to get the result from

Array form

This form is less common but can be just as useful.

=LOOKUP(lookup_value, array)
  • lookup_value is the item you are searching for
  • array is the range you want to search and find the result from. It will search the first column/row for the lookup_value and pull the answer from the last column/row

How to use the LOOKUP function in Excel

Now that you’ve seen the syntax, I’ll show some examples of the Excel LOOKUP function in action.

I’ll start with the vector form since this is the most common. Here I have some data from a department store, and I’m using the function to find Frank’s department.

lookup function excel vector form 1

I enter “Frank” as the search key, and tell the function to search in A2:A12. I also instruct the function to return the corresponding answer from B2:B12.

I do this with the formula =LOOKUP("Frank",A2:A12,B2:B12).

Note that the two vectors are the same length – if they aren’t, you’ll get an error!

Unsorted data

When you use the LOOKUP Excel function, your data needs to be sorted in ascending order. The LOOKUP function provides an approximate match to your search value when there’s no exact match.

To do this, it needs sorted data. In this example, I demonstrate what happens when the data is not sorted.

lookup function excel unsorted 2

Here, I’m searching for the person with sales closest to $8,000. By typing =LOOKUP(8000,A2:A12,C2:C12) I can make the LOOKUP function do just that.

But you can see here that the answer is wrong. The reason for that is my data isn’t sorted, so the function can’t tell what the right answer is!

I can fix that problem by sorting the data by sales in ascending order. Now I get the correct answer!

Note that the LOOKUP function will always return the value lower than the search value when there’s no exact match. Even if Isaiah had $8,001 in sales, it would still return Emily because she’s the closest to $8,000 without surpassing it!

lookup function excel sorted 3

Array format

You’ve now seen how the LOOKUP function in Excel works in vector format. As I mentioned previously, that’s the more common format.

But you also have the option of using array format. The difference here is you only need to specify a lookup_value and a single array.

In the example below, I find Greg’s sales using the formula =LOOKUP("Greg",A2:C12).

lookup function excel array form 4

The benefit of the array format is you only have to specify one array, instead of two separate vectors.

The function will automatically search the first column (or row if it’s a horizontal array) for the lookup_value and return the result from the last column (or row).

Tips for using the Excel LOOKUP function

  • The LOOKUP function automatically searches for approximate matches. Unlike the VLOOKUP or HLOOKUP functions, you can’t specify an exact match
  • The data must be sorted in ascending order, otherwise you’ll get incorrect results
  • It will always return a value smaller or equal to the lookup_value, never larger. This is true even if a larger value is closer to the lookup_value than the smaller value
  • The VLOOKUP (vertical lookup) and HLOOKUP (horizontal lookup) functions are more versatile and useful versions of LOOKUP
  • LOOKUP is not case-sensitive

You may also like…

Excel INDIRECT function — Excel logo and fx icon above =INDIRECT on a light gray background

Excel INDIRECT function: formula and examples

Use the INDIRECT function Excel provides to turn text into a cell reference. See the syntax and examples with SUM, AVERAGE, ROW, and other sheets.

How to round off numbers in Excel — Excel icon next to .00 rounded to .0

How to round off numbers in Excel with the ROUND function

Learn to round off numbers in Excel with ROUND, ROUNDUP, and ROUNDDOWN, to any number of decimal places or to the nearest whole number.

Excel FILTER function — Excel logo next to a report icon with a red funnel on a blue background

Excel FILTER function and examples

Learn how to use the Excel FILTER function to filter data by text, number, and date, with multiple conditions, and together with UNIQUE and SORT.