Skip to main content

9 Easy-to-Understand Examples of Using VLOOKUP - Just Follow Along and You'll Get It Right Away | exceltip

Deal the VLOOKUP in an easy way right here

Hello, my name is Leng. Today I would like to share an essential formula for office workers or decision-makers who need to measure and control numerical data.

The VLOOKUP formula has the following structure:

=VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

Meaning of each parameter:

lookup_value: The value you want to search for in the table.
table_array: The data range you want to search within.
col_index_num: The column number that contains the data you want to display.
range_lookup: TRUE (or 1) if you want an approximate match or FALSE (or 0) if you want an exact match.

Example: Simulate data in an Excel table.

| Data for filling out the formula

A B C
1 Product ID Product Name Price
2 101 Laptop 800
3 102 Smartphone 500
4 103 Tablet 300
5 104 Desktop 1200
6 105 Smartwatch 150

Suppose you want to find the price of "Tablet," which has a product code of 103 using the VLOOKUP formula:

=VLOOKUP(103, A2:C6, 3, FALSE)

lookup_value: The value you want to search for is 103 (product code).
table_array: The data range you want to search within is A2:C6 (columns A to C and starting at cell A2).
col_index_num: The column that contains the data you want to display is 3 (price).
range_lookup: We use FALSE for an exact match.
The above formula will search for the product code 103 in the table and return the price of "Tablet" (code 103), which is 300.

Next, I will show how to enter values to get different results:

VLOOKUP Basics:
In the product table, use VLOOKUP to find the price of "Tablet" (product code 103):

=VLOOKUP(103, A2:C6, 3, FALSE)
Result: 300

VLOOKUP with TRUE (Approximate Match):
Use VLOOKUP to find the price of a product with the code "A102" (approximate match):

=VLOOKUP("A102", A2:C6, 3, TRUE)
Result: 500

VLOOKUP with FALSE (Exact Match):
Use VLOOKUP to find the price of "Laptop" (exact match):

=VLOOKUP("Laptop", A2:C6, 3, FALSE)
Result: 800

VLOOKUP as Text:
Use VLOOKUP to find the price of a product with the name "Smartphone" (as text):

=VLOOKUP("Smartphone", A2:C6, 3, 0)
Result: 500

VLOOKUP Searching a Value Stored in a Cell:
Use VLOOKUP to find the price of a product with the code in cell A2:

=VLOOKUP(A2, A2:C6, 3, FALSE)
Result: 800

VLOOKUP from the Leftmost Column:
Use VLOOKUP to find the price of "Tablet" using columns starting from the leftmost:

=VLOOKUP(103, A2:C6, 1, FALSE)
Result: 103

VLOOKUP for Sorted Lookup:
Use VLOOKUP to find the price of "Tablet" using CHOOSE to specify the starting column:

=VLOOKUP(103, CHOOSE({1,2,3}, A2:A6, B2:B6, C2:C6), 3, FALSE)
Result: 300

VLOOKUP Using INDEX to Retrieve Data:
Use VLOOKUP to find the price of "Smartwatch" using INDEX:

=VLOOKUP("Smartwatch", INDEX(A2:C6, , 2), 0)
Result: 150

VLOOKUP Searching in a Named Range:
Use VLOOKUP to find the price of "Laptop" using the named range "ProductTable":

=VLOOKUP("Laptop", ProductTable, 3, FALSE)
Result: 800

I hope these 9 examples help you understand how to use VLOOKUP in Excel better!

...Share with you!!!

Thanks for spending your time with us.

Bye,

Posted by: Michael Leng



I've known, then I've grown.

See more articles:

Comments

Popular posts from this blog

5 Alternative Shortcut Ways Minimize Your Excel Workbook, Read It Now! | ExcelTip2Day

"How to Minimize Your Excel Workbook For Window?" Do you use an Excel office program?  If yes, stick around with me. I will show you how to operate your Excel worksheet easily. Hello, I'm Michael Leng. Today I'm very glad to show how to minimize an Excel workbook to an icon. Tip Quiz What to do if your monitor screen upside down? This applies to use for the Excel version 2013, due to I have been using it. And also these methods are for Window program operation. The methods that I have discovered and used, there are 5 ways. 5 methods minimize Excel workbook. ⟴ Use shortcut keys  "Ctrl" and "F9" ⟴   Use shortcut keys  " ALT",  "Spacebar" and "F9" ⟴   Click on the "Minimize workbook" square box. ⟴   Clicking on the "Minimize" command in the "Quick Access Toolbar" ⟴   Use shortcut keys "Window Logo" and "M" To make you more ease seein

Excel Trick Press A Couple Of [Arrow Key] Move One Cell Diagonally | Excetip2day

Hello there. I'm Michael, today, in my blog "Exceltip2day" , I'm going to talk about: The trick of how to move from a cell diagonally to another by using a shortcut key Tip Quiz Do you know what is the shortcut of deleting Cell(s) in Excel Worksheet? How do you move one cell diagonally by using shortcut key? Suppose the cell pointer is in the [ F10 ] active cell. We want to move to G9, H8, I7, etc. diagonally for an example. I have the trick to get the task done moving diagonally one cell to the adjacent cell that you can follow the 4 moving ways as the step below: Look at the image immidiately above, then to just press the bottoms below at the same time for the thick no. 1 to no. 4.  πŸ‘‰   Trick no. 1 To move one cell pointer diagonally from F10 to G9 Up Arrow Right Arrow πŸ‘‰   Trick no. 2 To move one cell pointer diagonally from F10 to G12 Down Arrow Right Arrow πŸ‘‰   Trick no. 3 To move one cell pointer diagonally from F10 to E9 Up Arrow Le

Page Down Excel Keyboard Key Button For Moving Down Page Screen One By One | Exceltip2day

Hello there. I'm Michael, welcome you to my blog. Today I'm going to talk about: The 2 ways of moving Excel's screen down. My article consists of how to move the screen of the current spreadsheet you are working on it with the keyboard. Instead of using a scroll down with a mouse, using the button "PAGE DOWN"  keyboard seems more comfortable way. Tab:  Learn Pure Thai FB Tab:  E n  Numbers In Words By the way, you can choose which one is fit for you. Ctrl+0(Zero) Excel Shortcut Key To Hide The Selected Column | ExcelTip2Day Tip Quiz What is the shortcut to close your an Excel workbook instantly? Let's come to the point. Just in case wanting to move the active Excel spreadsheet goes down the page by page. There are two ways to manage it. πŸ‘‰  1st method:  Using the scroll wheel On your mouse to scroll the worksheet up and down. To roll back or roll into users, the page will move up. On the other hand, to move the Excel worksheet or to m