How to use vlookup in excel?

Asked by Last Modified  

7 Answers

Follow 1
Answer

Please enter your answer

Accounts professional trainer with more than 10 years if experience in teaching & corporate finance

Syntax for using vlookup function is =VLOOKUP(LOOKUP_VALUE,TABLE_ARRAY,COL_INDEX_NUMBER)
Comments

Oracle, Hindi, C++, C, MS Office, VBScript,JavaScript,Spoken English etc with 32 years of experience

vlookup means vertical lookup. VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) Lookup_value The value to search in the first column of the table array (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows...
read more
vlookup means vertical lookup. VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) Lookup_value The value to search in the first column of the table array (array: Used to build single formulas that produce multiple results or that operate on a group of arguments that are arranged in rows and columns. An array range shares a common formula; an array constant is a group of constants used as an argument.). Lookup_value can be a value or a reference. If lookup_value is smaller than the smallest value in the first column of table_array, VLOOKUP returns the #N/A error value. Table_array Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent. Col_index_num 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. Greater than the number of columns in table_array, VLOOKUP returns the #REF! error value. Range_lookup A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match: If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned. The values in the first column of table_array must be placed in ascending sort order; otherwise, VLOOKUP may not give the correct value. For more information, see Sort data. If FALSE, VLOOKUP will only find an exact match. In this case, the values in the first column of table_array do not need to be sorted. If there are two or more values in the first column of table_array that match the lookup_value, the first value found is used. If an exact match is not found, the error value #N/A is returned. Remarks When searching text values in the first column of table_array, ensure that the data in the first column of table_array does not have leading spaces, trailing spaces, inconsistent use of straight ( ' or " ) and curly ( ‘ or “) quotation marks, or nonprinting characters. In these cases, VLOOKUP may give an incorrect or unexpected value. For more information, see CLEAN and TRIM. When searching number or date values, ensure that the data in the first column of table_array is not stored as text values. In this case, VLOOKUP may give an incorrect or unexpected value. For more information, see Convert numbers stored as text to numbers. If range_lookup is FALSE and lookup_value is text, then you can use the wildcard characters, question mark (?) and asterisk (*), in lookup_value. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character. read less
Comments

Hi Ankita, VLOOKUP is used to search the values vertically. VLOOKUP function takes 4 parameters 1. Lookup value 2. Table array 3. col_index_num, Suppose we have below two datasets Dataset A Name Vikas Ajay Ravi Ankita Pankaj Dataset B Name Age Vikas 28 Ajay 32 Ravi 60 Ankita 24 Pankaj...
read more
Hi Ankita, VLOOKUP is used to search the values vertically. VLOOKUP function takes 4 parameters 1. Lookup value 2. Table array 3. col_index_num, [range_lookup] Suppose we have below two datasets Dataset A Name Vikas Ajay Ravi Ankita Pankaj Dataset B Name Age Vikas 28 Ajay 32 Ravi 60 Ankita 24 Pankaj 56 based on above both data, we have requirement to fetch the age from Data B to the Data A based on Names field. Therefore we need to use below steps to apply vlookup 1. Suppose data A is name values are starting from cell A2 and we need to fetch the names from data A so we need to apply VLOOKUP with data A. so we will apply vlookup to b2 (we can apply formula to any cell but B2 cell will make data more readable) cell adjacent to a2 cell. 2. Now We will type =Vlookup( into B2 cell. after that we need to give the lookup value to vlookup which is cell a2 in our case as we want to fetch the names for a2 and all below cell. so vlookup will be having A2 as first parameter and will look like =vlookup(a2 then we need to apply comma(,) to start adding second parameter to vlookup function with comma vlookup will look like =vlookup(a2, 3. Now we need to add the table_array parameter to vlookup which is the data from where we want to fetch the values therefore in our case we have data B which we will there in suppose sheet 2. after adding comma(,) after first parameter, we need to go to the sheet 2 and select data B. second parameter data selection can be done using two ways 1. either go to sheet 2 where we have data B, and select data with your mouse which will add second parameter like Sheet2!A1:B10 where range is just for explaining you. But you will notice here range is relative here so we need to make range absolute as well by either press F4 function key just after selecting data with mouse which will make table_array parameter look like Sheet1!$A$1:$B$10. absolute cell reference help vlookup to work properly. 2. second way to give table array parameter is just select the columns of data b from sheet 2 instead of selecting complete data which will look like Sheet2!A:B. In this case we do not need to make cell reference absolute as well. after selecting second parameter please add comma(,) also to start adding the 3rd parameter. At the end of 3 point our vlookup will look like =vlookup(a2,Sheet2!A:B, or =vlookup(a2,Sheet2!$A$1:$B$10, 4. we need to give col_index_num as 3rd parameter to vlookup which will be the value we want to return. like in our data B we want to fetch the age and age is there in second column as in first column, we have name. Col_index_number depends on the table_array data selection as well so we have selected column A (contains name) column B (contains age) therefore column A becomes col_index 1 and column B becomes col_index 2. Now we need to give the 2 in our vlookup function as col_index_num as we want to fetch the age. suppose if we have three columns name address age then we will give the col_index_num as 3. POINT TO NOTE in the table_Array data lookup_value column first present before the column of value which we want to extract like we want to extract age from data B based on the names of data A therefore column sequence in data B must be Name Age not the Age Name. If you do not have data aligned like this simple vlookup will not work here we will have to write advance version of vlookup which you can learn from www.learndreamskill.com. After adding col_index_num please add comma(,) to start adding the 4th and last parameter. So at the end of point 4, our vlookup will look like =vlookup(a2,Sheet2!A:B,2, 5. Now we need to add the last parameter [range_lookup]. You will see that range_lookup parameter is enclosed in round brackets which means it is the optional parameter. this is true for all excel functions. [range_lookup] take two option 0 or 1 as value where 0 means extract match type and 1 means approx match type. we need to give 0 here because name will be matched extract 1 works with numeric values. now please close the parenthesis. now our formula will look like =vlookup(a2,Sheet2!A:B,2,0). we are done with writing our formula. you need to press enter and you will see the age for the name in cell a2. now please drag your formula below for all names in data A. You can learn more advance version of lookup at www.learndreamskill.com we have created too good tutorials based on live scenarios requirements. Thanks read less
Comments

find out the value. one sheet to another sheet
Comments

C/C++/SQL/Datastructures/Database/Excel

I can help you with it, connect with me
Comments

Trainer

vlookup formula searches data vertically. Make sure your lookup value should be in first column of lookup array, freeze the array if need to drag. Give the column index and false for exact match the value in array
Comments

Vloookup is requires 4 parameter values as input. 1. Lookup value 2. Lookup Table range 3. Index No. of the required value 4. Whether it should be exact or approximate match.
Comments

View 5 more Answers

Related Questions

Is there any free software to convert a word file to PDF?
You don't need any software. Just go to "Save as" and when the save window pops up, below the file name you will find the option to select file type, here click on the drop down arrow and change from...
Gaurang
0 0
7
can i teach
For teaching two things are must 1) you must have sound knowledge of the topic 2) then you must know the art of teaching. You should teach in a such a way that you are able to make people understand...
Abdul
How many days it will take to complete advance excel course?
The duration to complete any kind, of course, depends on your grasping power and the ability to learn the concepts quickly. Having said that, it usually takes about three to four weeks to learn the topics...
Amit
What is the use of Data validation commond. can you demonstare the example in common life?
The point of data validation is to pick the list in a drop down fashion. It will ease your work by allowing you to select the entries from the drop down rather than you writing for it. It saves a lot of time when it comes to large dataset.
Anil
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Pivot Tables
Pivot table and a very powerrfull feature in Ms-Excel . it is used to reorganize data in a spreadsheet. They won't change the data that you have, but they can sum up values and compare different information...

Excel Macros Training
The Next Level Technologies Excel Learning...Read & Share....Happy Learnings Record Macro (Automating day to day activity reports) -> Choose Record Macro in the Code group of the Developer...
N

Next Level Technologies

0 0
0

How To Create Cutom List And Its Advantages?
You must have observed when you are typing Month names, Excel suggests the next Month Name. Also, you can drag the cursor using the anchor at the right bottom of cell and the series of month...

Hidden Gems Of MS Excel - Sort (add Multiple Levels to Sort Data)
Please refer following dataset: You would know:- To Sort Month from Oldest → Newest OR Newest → OldestOR- To Sort Region from A → Z OR Z → AOR- To Sort Units Sold from Smallest →...

VLOOKUP and LIST Creation Explained
.) This table is in the range A1:D4. You want to find the salary of employee with ID 102. Excel =VLOOKUP(102, A1:D4, 4, FALSE) 102: The Employee ID (your lookup_value). A1:D4: The table containing...
G

Ganesh S.

0 0
0

Recommended Articles

Microsoft Office is a very popular tool amongst students and C-Suite. Today, approximately 1.2 billion people across 140 countries use the office programme. It is used at home, schools and offices on a daily basis for organizing, handling and presenting data and information. Microsoft Office Suite offers programs that can...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for Microsoft Excel Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you