ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Functions > Excel VLOOKUP Function

Excel VLOOKUP Function

How to Use the Excel VLOOKUP Function
Table of contents :
  • What is the Excel VLOOKUP Function?
  • VLOOKUP Syntax
  • How to Use VLOOKUP Function in Excel
  • VLOOKUP Example

Excel VLOOKUP Function

What is the Excel VLOOKUP Function?

The VLOOKUP function is used to lookup a value (exact/approximate) in the first column of a range, then returns the value in the right column in the same row.

The letter “V” in VLOOKUP stands for vertical, VLOOKUP function does a lookup in the first column of the range from the first row to the last row (forming a vertical direction). If the lookup value found (exact/approximate), the lookup process stop and looking to the right column to retrieve the desired value.

For the complete explanation of how to use VLOOKUP function read the article below:

  • Complete Guide How to Do a VLOOKUP in EXCEL, the only article you need to know all about VLOOKUP formula, from beginner to advance.

VLOOKUP Syntax

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

lookup_value, required, the value you want to look up in the first column of table_array

table_array, required, the range of cells, the first column is used as a reference to look up the lookup_value.

col_index_num, required, the column number in the table_array from which to retrieve a value.

  • Number 1 represents the first column, number 2 represents the second column and so on.
  • VLOOKUP function return #VALUE! error if less than 1
  • VLOOKUP function return #REF if greater than total column in table_array

range_lookup, optional, TRUE = approximate match (default). FALSE = exact match.

How to Use VLOOKUP Function in Excel

For example, there is a price table as shown below. What are the results of the VLOOKUP function in column F?

VLOOKUP in Excel

VLOOKUP Function #1

=VLOOKUP("caffe latte",A2:D13,2,FALSE)

Caffe latte is in column A row 2, the first column of range A2:D13. The col_index_num argument is 2 then VLOOKUP looks to the right at column number 2 (column B/ Tall size).

The value at row 2 column B is the return value. The result is 2.95

VLOOKUP Function #2

=VLOOKUP("caffe latte",A3:D14,2,FALSE)

Like the first VLOOKUP function, but the above formula returns #N/A error, why?

VLOOKUP Formula

Pay attention to the table_array argument, there is a slight change, shifts 1 line down, but that’s the problem. table_array shifts so “caffe latte” is not in table_array, this is what causes #N/A error

VLOOKUP Function #3

=VLOOKUP("caffe latte",A2:D13,5,FALSE)

Like the first VLOOKUP function, but there is one different argument. Yes, it’s a col_index_num argument, table_array only has 4 column, 5 exceeds the available number of column, this is what causes the #REF! error.

VLOOKUP Function #4

=VLOOKUP("caffe latte",A2:D13,0,FALSE)

Like VLOOKUP function #3, the difference is in col_index_num argument. If the value is less than 1, it returns a #VALUE! Error.

VLOOKUP Function #5

=VLOOKUP(caffe latte,A2:D13,2,FALSE)

Can you find the difference with the VLOOKUP function #1? Caffe latte is text, so it must be enclosed with the double quotes, if not, VLOOKUP returns a #NAME error?

**

The complete results of the VLOOKUP function in column F can be seen in the image below

VLOOKUP for Dummies

Read the article below for more detailed explanation of VLOOKUP error and solution

  • VLOOKUP Error – Frequently Occurred Error and Solution

VLOOKUP Example

Another article using or explain about VLOOKUP Function
  • VLOOKUP Multiple Criteria – Solution for Numeric or Non-Numeric Result
  • VLOOKUP MATCH – a Combination for a Solution
  • IFERROR VLOOKUP – Solution for VLOOKUP NA Error
  • Excel IFS Function
  • Multiple IF Statements in Excel

Another Lookup & Reference Function

Another article about Lookup & Reference Function
  • Excel CHOOSE Function
  • Excel VLOOKUP Function
  • Excel MATCH Function
  • Excel INDEX Function
Usefull links
  • Microsoft VLOOKUP function documentation
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

How to Use Excel IFS Function
What is the Excel IFS Function? Excel IFS Function is …

Excel IFS Function

Excel ISEVEN Function
What is the Excel ISEVEN Function? Even numbers are an …

Excel ISEVEN Function

Excel YEAR Function
What is the Excel YEAR Function? The Excel YEAR function …

Excel YEAR Function

Excel AVERAGE Function
What is the Excel AVERAGE Function? The Excel AVERAGE function …

Excel AVERAGE Function

How to Use OR Function in Excel
What is the Excel OR Function? Excel OR function used …

Excel OR Function

Tags:Excel VLOOKUP Example How to Use VLOOKUP How to Use VLOOKUP in Excel How to VLOOKUP Lookup & Reference Function VLOOKUP Example VLOOKUP For Dummies VLOOKUP Formula VLOOKUP Formula in Excel VLOOKUP Function in Excel VLOOKUP in Excel What is VLOOKUP

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh