Excel function - vlookup

Excel 3716 views 10 replies

Understanding Vlookup.

 

The VLOOKUP function performs a vertical lookup by searching for a value in the left-most column of table_array and returning the value in the same row in the index_number position. Value is the value to search for in the first column of the table_array.

 

Syntax

 

VLOOKUP(lookup_value, table_array, col_index_num, match_type)

 

 

Cell F2 I have used  vlookup function, and formula is: =VLOOKUP(E2, A2:B9,2,0)

 

Here lookup_value is value is the value to search for in the first column of the table_array, in our case it is value of cell E2,

 

table_array  is two or more columns of data that is sorted in ascending order, in our case it is range A2:B9 ,

 

col_index_num is the column number in table_array from which the matching value must be returned. The first column is 1, for 2nd it is 2 & so on, in our case it is 2.

 

match_type is optional, It determines if you are looking for an exact match based on value. Enter FALSE to find an exact match. Enter TRUE to find an approximate match, which means that if an exact match if not found, then the VLOOKUP function will look for the next largest value that is less than value. If this parameter is omitted, the VLOOKUP function returns an approximate match.

 

 

If index_number is less than 1, the VLOOKUP function will return #VALUE!.

 

If index_number is greater than the number of columns in table_array, the VLOOKUP function will return #REF!.

 

If you specify FALSE for the not_exact_match parameter and no exact match is found, then the VLOOKUP function will return #N/A

 

(Refer attached sheet for explanation)


Attached File : 112266 1363166 vlookup.xls downloaded: 1225 times
Replies (10)

"thanks for sharing"

Dear Readesr, do post if you have any qurry!

 

Thanks..

yes

Very useful function bhai, thanks for sharing!

refer for reverse/backward lookup formula: /forum/reverse-backward-vlookup-advance-excel-function-305491.asp

 

Thanks!!

yes

By using vlookup it is necessary for every time that lookup array should be first if I want's to make reference for those cells which before the lookup array in that case I have to either/replace the cell 

IS THERE ANY OTHER WAY DOING SO??????????

@ KumarMukesh,

 

Check this.../articles/reverse-backward-vlookup-advance-excel-function--21685.asp

 

Cheers!!

Can you explain why we using True or False in Vlookup Function???????????

Hi

 

when you use false, vlookup will search an exact match. If exact match is not there then vlookup will give you next match nearest to vlookup value..

 

Thanks


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
Featured 28 March 2026
Accountant

Ashok Amol & Associates

New Delhi

B.Com

View Details
Company
Featured 28 March 2026
CA Final

Ashok Amol & Associates

New Delhi

CA Final

View Details
Company
Featured 14 March 2026
Article Trainee

N N V Satish&co

Hyderabad

CA Inter

View Details
Company
Featured 14 April 2026
GST CONSULTANT

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 14 March 2026
Associate CA

N N V Satish&co

Hyderabad

CA

View Details
Company
Featured 12 March 2026
Customer Relationship Executive

TAXLET

Calicut

B.Com

View Details
Company
Featured 13 April 2026
GST CONSULTANCY

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 19 March 2026
Article Assistant

Gupta Sachdeva & Co. Chartered Accountants

New Delhi

CA Final

View Details