×

Excel VLOOKUP() Function

Excel VLOOKUP() Function

The VLOOKUP() function in excel is used to lookup the value on the leftmost side of the table and then return the value in the corresponding row basis on the supplied column index number. 

Syntax

VLOOKUP(LookupValue, Table_Array, Column_Index_Num, [Range_Lookup])

Parameter

LookupValue(required)- This parameter represents the value which needs to be looked for in a particular table.

Table_Array (required)- This parameter refers to the table in which we need to check for this value to be present and from which we want to retrieve data. By pressing the F2 key when you have selected your table, you fix the range. So when you copy the formula from one cell to another, the range does not update automatically.

Index_Num(required)- If the value is present in the table, then which column consists of the value we want the function to return

Range_Lookup(optional)- This parameter takes a Boolean value - TRUE for approximate match and FALSE (which is the default value) for an exact match of the value we are searching for in a table.

Category

Lookup & Reference

Return

This function is used to lookup a particular value in a table and then return data from a specific column corresponding to that value.

Example 1

Objective: Below in the Lookup table, we have cost for different parts for different car makers. Use VLOOKUP() to get costs in front of items in the second table.

Lookup Table Mercedes Audi BMW
Head Light $2,700 $2,023 $3,000
Engine $5,000 $4,999 $5,200
Steering $1,250 $1,302 $1,100
Ignition $250 $301 $200
CYHead $3,010 $290 $310
Maker Spare Cost Formula
Mercedes Ignition £250  =VLOOKUP(B1,$A$24:$B$28,2,FALSE)
BMW Head Light £2,023  =VLOOKUP(B2,$A$24:$C$28,3,FALSE)
Audi Engine £5,200  =VLOOKUP(B3,$A$24:$D$28,4,FALSE)
Audi Steering £1,100  =VLOOKUP(B4,$A$24:$D$28,4,FALSE)
Mercedes Ignition £250  =VLOOKUP(B5,$A$24:$B$28,2,FALSE)
Mercedes CYHead £3,010  =VLOOKUP(B6,$A$24:$B$28,2,FALSE)
BMW Head Light £2,023  =VLOOKUP(B7,$A$24:$C$28,3,FALSE)
BMW Engine £4,999  =VLOOKUP(B8,$A$24:$C$28,3,FALSE)

Example 2

Objective: Find 'Email ID' & 'Salary' based on the lookup value by looking up in table.

ID Name Email ID Department Salary
651 Gautam gautam.partamy@edu.in Marketing $1,378
774 Pooja Rani poja@edu.in Sales Executive $920
650 Aashna Malhotra aasahna.malhotra@edu.in Business Analyst $936
624 Lakshman Maradapa lakshman.maradapa@edu.in Engineering $806
873 Ekta Gupta ekta.gupta@edu.in CSE $1,218
818 Nikit Mahiwal nikit.mahiwal@edu.in Engineer $1,206
828 Meenakshi Jaiswal meenakshi.jaiswal@edu.in CSE $1,007
925 Pragati Patel pragati.patel@edu.in Sales $1,479
721 Rohit Rawat rohit.rawat@edu.in CSE $866
Lookup Value Aashna Malhotra Formula Text
Email ID aasahna.malhotra@edu.in =VLOOKUP(C52,C56:F67,2,0)
Salary $936 =VLOOKUP(C52,C56:F67,4,0)

Related Topics

Data Validation in Excel

What is Data Validation? Data Validation is one of the features in Excel that allows user to restrict values which other people can fill in – for example, in a form, you may...

4 minutes read.

Excel Axes

What is Excel Axes? Axes are a horizontal or vertical line containing units of measure. There are two types of axes X and Y axes. X is a horizontal and Y...

3 minutes read.

Insert Row in Excel

It was known that we have various multiple ways that are extremely helpful in inserting a particular row in the Microsoft Excel. And we have lots of shortcut options available...

6 minutes read.

Copying formula in Excel

Copy a formula in Excel While working with statistical calculations in Microsoft Excel, the user uses formulas to calculate the mathematical operations. Implementing these formulas manually for each data is a...

3 minutes read.

Shortcut Keys in Excel

Shortcut Keys in Excel Shortcut keys in Excel are used to simplify the work and save time by pressing a few keys.  These keys are used for navigating and working with Excel spreadsheets quickly and easily. Basic Selection:...

9 minutes read.

Solver in Excel

What is Solver? Microsoft Excel facilitates an add-in programming tool known as Solver that uses operational research techniques to find the optimal solutions for objective problems. This tool operates with a group of...

5 minutes read.

Absolute Value in Excel

What is Absolute Value in Excel? Microsoft Excel worksheet is a combination of numeric values and alphabets. The numeric value is either a positive value or a negative value. Sometimes the...

5 minutes read.

Excel WEEKDAY() Function

The WEEKDAY () function in excel returns number from 1 (Sunday) to 7 (Saturday) identifying the day of the week based on its date. This function Default return is - Sunday would be...

1 minute read.

Excel COUNTIFS() Function

Excel COUNTIFS() Function The COUNTIFS() function in excel is used to count the numbers within a range that meet the supplied criteria.  Syntax COUNTIFS (range1, criteria1, [range2], [criteria2], ...) Parameter Range1 (required)- This parameter represents...

1 minute read.

How to create drop down in excel?

How to create drop down in excel? Drop-down lists are mostly used to facilitate data entry operations. They are commonly used in interactive websites or applications. Microsoft has expanded his Excel's data validation feature...

5 minutes read.

How to generate random numbers in Excel

In this tutorial, we will discuss the following things in detail that are as follows: Introduction about Random Numbers used in Microsoft Excel. Discuss how to generate the Random Numbers in Microsoft...

6 minutes read.

Auto Fill and Flash fill

Fill Features Excel provides an amazing feature to fill the data automatically, if the available data is present in the form of any pattern. Instead of entering your data manually, you can use...

3 minutes read.

Unique Values in Excel

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 minutes read.

Data Analysis in Excel

Data Analysis in Excel Data analysis is a powerful tool that helps the users to make better decisions by comparing different information. Microsoft Excel extends its credibility to enforce the data analysis tool...

6 minutes read.

Averageif Function in Excel

Average If in HTML In Mathematics, Average function is used to find the arithmetic mean of the given data. It is defined as the dividing the sum total of given data...

7 minutes read.

Trendline in Excel

A Trendline is a line imposed on a graph to predict the direction of the data. It connects the series of data together to showcase the data best fit. The...

3 minutes read.

Division in Excel

Excel worksheet are widely used for calculation purposes. Mathematics calculations include addition, subtraction, multiplication, division etc. Performing this calculation manually takes time and sometimes leads to error. To get the...

5 minutes read.

How to use TODAY function in Excel

What is TODAY Function in Excel? Today function is one of the types of Worksheet function (WS) in Excel.Today Function belongs to the Date and Time functions.It is used to calculate...

3 minutes read.

Formatting in Excel

Formatting in Excel Formatting in Excel is used to alter and change the appearance of your data in a standardized form. It also helps you to give a professional look to your reports, worksheets,...

7 minutes read.

Dependent Drop-down List in Excel

Excel forms are used to fetch data from the end user. When we have to give choices, we often use the drop-down feature of Excel. In this tutorial, we won’t...

7 minutes read.