• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Lesson 154: How to use the Vlookup function in Excel

AnonyViet by AnonyViet
January 25, 2023
in Office
0

The Vlookup function is one of the most popular lookup functions in Excel.

Join the channel Telegram of the AnonyViet 👉 Link 👈

How to use the Vlookup function in Excel

Precise detection

1. The VLOOKUP function below looks up the value 53 (first parameter) in the leftmost column of the red table (second parameter).

Lesson 154: How to use the Vlookup function in Excel

2. The number 4 (third parameter) tells the VLOOKUP function to return the value of the fourth column in the red table.

Lesson 154: How to use the Vlookup function in Excel 22

Note: Boolean FALSE (fourth parameter) requires the VLOOKUP function to return an exact result. If the VLOOKUP function cannot find the value 53 in the first column, it returns the #N/A error.

3. Here is another example. Instead of returning the salary, the VLOOKUP function below returns the last name (the third parameter is set to 3) of ID 79.

Lesson 154: How to use the Vlookup function in Excel 23

Approximate detection

1. The VLOOKUP function below looks up the value 85 (first parameter) in the leftmost column of the red table (second parameter). But the problem is that there is no value 85 in the first column.

Lesson 154: How to use the Vlookup function in Excel 24

2. Fortunately, TRUE (the fourth parameter) tells the VLOOKUP function to return an approximate match. If the VLOOKUP function cannot find the value 85 in the first column, it will return a value less than 85. In this example, this would be the value 80.

Lesson 154: How to use the Vlookup function in Excel 25

3. Number 2 (third argument) tells the VLOOKUP function to return the value of the second column in the red table.

Lesson 154: How to use the Vlookup function in Excel 26

Note: always sort the first column of the red table in ascending order if you use the Vlookup function in approximate detection mode (the fourth parameter is set to TRUE).

How it works

The VLOOKUP function always looks up the value in the leftmost column of the table and returns the corresponding value from the right column.

1. For example, the VLOOKUP function below looks up the first name and returns the last name.

Lesson 154: How to use the Vlookup function in Excel 27

2. If you change the 3rd parameter to 3, the VLOOKUP function will look up the name and return the salary.

Lesson 154: How to use the Vlookup function in Excel 28

Note: in this example, the VLOOKUP function cannot look up the name and return the ID. The Vlookup function only looks from left to right. Don’t worry, you can use INDEX and MATCH in Excel to do a left lookup.

Duplicate value

If the leftmost column of the table has the same value, the VLOOKUP function returns the first result. For example, the Vlookup function below.

Lesson 154: How to use the Vlookup function in Excel 29

Explanation: the VLOOKUP function returns Mia Clark’s salary, not Mia Reed’s.

Vlookup is not case sensitive

The VLOOKUP function in Excel performs case-insensitive detection. For example, the VLOOKUP function below looks up the MIA (cell G2) in the leftmost column of the table.

Lesson 154: How to use the Vlookup function in Excel 30

Explanation: the VLOOKUP function is not case sensitive so it will look up MIA or Mia or mia or miA… As a result, the VLOOKUP function returns Mia Clark’s salary (first case). Use INDEX, MATCH, and EXACT in Excel to perform case-sensitive lookups.

Many conditions

You can search based on multiple conditions by using INDEX and MATCH in Excel to perform a two-column lookup.

Lesson 154: How to use the Vlookup function in Excel 31

Note: the array formula above looks up James Clark’s salary, not James Smith’s, not James Anderson’s.

Error #N/A

If the VLOOKUP function cannot find a match, it returns the #N/A error.

1. For example, the VLOOKUP function below cannot find the value 28 in the ID column.

Lesson 154: How to use the Vlookup function in Excel 32

2. If you want, you can use the IFNA function to replace the #N/A error with what you want.

Lesson 154: How to use the Vlookup function in Excel 33

Note: the IFNA function was introduced in Excel 2013. If you are using Excel 2010 or Excel 2007, just replace IFNA with IFERROR.

Look up multiple tables

When using the Vlookup function in Excel, you can look up more tables. You can use the IF function to check if a condition is met and return a lookup table if TRUE and another lookup table if FALSE.

1. Create two range names: Table1 and Table2.

Lesson 154: How to use the Vlookup function in Excel 34

2. Select cell E4 and enter the Vlookup function shown below.

Lesson 154: How to use the Vlookup function in Excel 35

Explanation: Bonus depends on Market (UK or US) and sales quantity. The second parameter of the VLOOKUP function determines the lookup table. If UK, the VLOOKUP function uses Table1, if USA, the VLOOKUP function uses Table2. Set the fourth parameter of the VLOOKUP function to TRUE to return an approximate result.

3. Press Enter.

4. Select cell E4, click the lower right corner of cell E4 and drag it down to cell E10.

Lesson 154: How to use the Vlookup function in Excel 36

Note: for example, Walker received a bonus of $1,500. Because I use the reference as the range name, there is no need to worry when copying the formula to another cell.

Index and Match

Instead of using the VLOOKUP function, use INDEX and MATCH. To perform advanced lookups, you will need INDEX and MATCH.

Lesson 154: How to use the Vlookup function in Excel 37

Xlookup

If you use Excel 365, use XLOOKUP instead of VLOOKUP. The XLOOKUP function is easier to use and has several additional advantages.

Lesson 154: How to use the Vlookup function in Excel 38

In addition, you can also view many other excel articles here.

The article achieved: 5/5 – (100 votes)

Tags: ExcelfunctionLessonVlookup
Previous Post

13 websites to help you find information on other people on the Internet

Next Post

RTL8188EUS SCRIPT – Automatic wifi driver installation tool

AnonyViet

AnonyViet

Related Posts

Automatically check and correct spelling errors on Google Docs
Office

Automatically check and correct spelling errors on Google Docs

February 23, 2025
Instructions for downloading Google Docs files easily on any device
Office

Instructions for downloading Google Docs files easily on any device

December 18, 2024
Launching AI image creation feature on Google Docs
Office

Launching AI image creation feature on Google Docs

November 20, 2024
Instructions for using Google Docs without internet
Office

Instructions for using Google Docs without internet

November 2, 2024
Share the link to the sample file to create QR codes in Google Sheets
Office

Share the link to the sample file to create QR codes in Google Sheets

September 30, 2024
Proton Docs: Google Docs Alternative with End-to-End Encryption
Office

Proton Docs: Google Docs Alternative with End-to-End Encryption

September 21, 2024
Next Post
RTL8188EUS SCRIPT – Automatic wifi driver installation tool

RTL8188EUS SCRIPT - Automatic wifi driver installation tool

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Đá Gà Online Sonclub Đỉnh Cao Giải Trí 2025

August 22, 2025
How to view web access history in the anonymous mode (Incognito) of Chrome

How to view web access history in the anonymous mode (Incognito) of Chrome

August 22, 2025
How to automatically erase the web history after escaping to absolutely secure

How to automatically erase the web history after escaping to absolutely secure

August 22, 2025
Stainless steel flange price list at Asia Industry

Stainless steel flange price list at Asia Industry

August 21, 2025

Đá Gà Online Sonclub Đỉnh Cao Giải Trí 2025

August 22, 2025
How to view web access history in the anonymous mode (Incognito) of Chrome

How to view web access history in the anonymous mode (Incognito) of Chrome

August 22, 2025
How to automatically erase the web history after escaping to absolutely secure

How to automatically erase the web history after escaping to absolutely secure

August 22, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Đá Gà Online Sonclub Đỉnh Cao Giải Trí 2025

August 22, 2025
How to view web access history in the anonymous mode (Incognito) of Chrome

How to view web access history in the anonymous mode (Incognito) of Chrome

August 22, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply