**Question: – What is VLOOKUP ****Function / Formula****?**

**Question: – ****Were VLOOKUP Function / Formula used?**** **

**Here is the answer of your questions:-**

The VLOOKUP function / formula is one of several lookup functions supported by Microsoft Excel. It is used when you want to “LOOKUP” a value from a table based on some key value. The help provide by Excel is very good. VLOOKUP is a VERTICAL lookup function (the function scans down the target column looking for your key), HLOOKUP is a horizontal lookup function (the function scans across the target row looking for your key).

Some info from the Excel Help menu on VLOOKUP function / formula

**VLOOKUP **function / formula

Searches for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify in the table. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data you want to find.

**Syntax**

VLOOKUP function / formula (lookup_value,table_array,col_index_num,range_lookup)

Lookup_value is the value to be found in the first column of the array. Lookup_value can be a value, a reference, or a text string.

Table array is the table of information in which data is looked up. Use a reference to a range or a range name, such as Database or List.

If range lookup is TRUE, the values in the first column of table array must be placed in ascending order: …, -2, -1, 0, 1, 2, …, A-Z, FALSE, TRUE; otherwise VLOOKUP may not give the correct value. If range lookup is FALSE, table array does not need to be sorted.

You can put the values in ascending order by choosing the Sort command from the Data menu and selecting Ascending.

The values in the first column of table array can be text, numbers, or logical values.

Uppercase and lowercase texts are equivalent.

Col_index_num is the column number in table array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table array; a col_index_num of 2 returns the value in the second column in table_array, and so on. If col_index_num is less than 1, VLOOKUP returns the #VALUE! Error value; if col_index_num is greater than the number of columns in table array, VLOOKUP returns the #REF! Error value.

Range lookup is a logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, VLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.

**Remarks **

If VLOOKUP can’t find lookup value, and range lookup is TRUE, it uses the largest value that is less than or equal to lookup value.

If lookup value is smaller than the smallest value in the first column of table array, VLOOKUP returns the #N/A error value.

If VLOOKUP can’t find lookup value, and range lookup is FALSE, VLOOKUP returns the #N/A value.

**Examples**

****key spreadsheet illustration here; go to actual Help to see it****

On the preceding worksheet, where the range A4:C12 is named Range:

VLOOKUP(1,Range,1,TRUE) equals 0.946

VLOOKUP(1,Range,2) equals 2.17

VLOOKUP(1,Range,3,TRUE) equals 100

VLOOKUP(.746,Range,3,FALSE) equals 200

VLOOKUP(0.1,Range,2,TRUE) equals #N/A, because 0.1 is less than the smallest value in column A

VLOOKUP(2,Range,2,TRUE) equals 1.71

Posted under Microsoft, Ms-Office, Uncategorized

This post was written by Rahul Nagar on December 10, 2008