Pinterest Pixel

VLOOKUP Function: Introduction

John Michaloudis
 .

 

VLOOKUP Function: Introduction

 

What does it do?

Searches for a value in the first column of a table array and returns a value in the same row from another column (to the right) in the table array.

Formula breakdown:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

What it means:

=VLOOKUP(this value, in this list, and get me value in this column, Exact Match/FALSE/0])


Excel`s VLOOKUP function is arguably the most used function in Excel but can also be the most tricky one to understand.  I will show you a VLOOKUP example and in a few steps you will be able to extract values from a table and use them to do your custom reports and analysis.

You will be using VLOOKUP with confidence after this tutorial!

Download excel workbookVlookup_Intro1.xlsx

 

STEP 1: We need to enter the VLOOKUP function in a blank cell:
=VLOOKUP(
VLOOKUP Function: Introduction

 

STEP 2: The VLOOKUP arguments:

Lookup_value

What is the value that you want to look for?

In our first example, it will be Laptop, so select the Item name
=VLOOKUP(
VLOOKUP Function: Introduction

Table_array

What is the table or range that contains your data?

Make sure to select the stock list table so that our VLOOKUP formula will search here
=VLOOKUP(G15,
VLOOKUP Function: Introduction

Ensure that you press F4 so that you can lock the table range.
=VLOOKUP(G15,
VLOOKUP Function: Introduction

Col_index_num

What is the column that you want to retrieve the value from?

Since we want to get the price, our price is on the 2nd column of our source data
=VLOOKUP(G15, $B$14:$D$17,
VLOOKUP Function: Introduction

Range_lookup

What kind of matching do you need?

We want an exact match of the Laptop text so make sure FALSE is selected.
=VLOOKUP(G15, $B$14:$D$17, 2,
VLOOKUP Function: Introduction

Apply the same formula to the rest of the cells by dragging the lower right corner downwards.

VLOOKUP Function: Introduction

You now have all of the results!

 

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  Calculate Elapsed Time in Excel

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...