“This is the quickest I have come across!!!! You are a big help.” Ron
Do you hate going home late?
Do you want to make your job easier?
If you answered yes to either of these questions, then read on.
But before we proceed, many of you have been asking for a step by step tutorial on Pivot Tables, which is now here: Pivot Tables in Excel.We’ve also launched Working with Numbers.
We’ve also created a video version of the tutorial which you can watch here.
Use this file to go try out what is shown in this free excel video tutorial.
The vlookup is the most useful, yet most mis-understood function in Excel. Learning how to vlookup in Excel 2007/2010/2013/2016 and the Excel version in Office 365 can be very useful.
This is a step by step vlookup tutorial (only 7 steps) suitable for beginners. It’s the quickest and simplest way to do a vlookup! It works in all versions of Excel – Excel 2007, Excel 2010, Excel 2013, Excel 2016, Office 365, etc (you just need to find the fx button above column B as shown in the example below).
LEARN HOW TO USE THE VLOOKUP FUNCTION IN EXCEL AND SAVE YOURSELF HOURS WITH ANALYSIS!!
vlookups are usually done between different spreadsheets, but to make it easier to show how they work, I’ve put the data on to one spreadsheet (see image below).
The tables in the spreadsheet have some of the most famous 100m runners in the world – including Usain Bolt (the World Champion!). The runners are numbered from 1 to 10 in column B (the numbers are for illustrative purposes only).
I’ve put the names of the runners / athletes in column C.
IMPORTANT: You should note that the table on the LEFT HAND SIDE is set in ASCENDING NUMERCIAL order ie numbers 1 to 10.
However, the table on the RIGHT HAND SIDE is arranged in ALPHABETICAL order of the names of the athletes. So the numbers in that table DO NOT go from 1 to 10 in ascending order.
We’ll use the vlookup function to get the ‘Prize Money’ each athlete has won in column J in the second table into column D in the first table.
If you want to actually test out the instructions below with exactly the same data in Excel, then we have included a link to the file with the data here –
vlookup specimen file – Usain Bolt, etc.
STEP 1
First, click into cell D2 – as this is where we want the first vlookup result to appear.
STEP 2
Click on the ‘fx’ button above column B – many people start by typing “=vlookup…” but you don’t have to! Clicking the “fx” button is much quicker!
(you will see the ‘Insert Function’ table pop up – screenshot below)
From this window, we will select the vlookup function, as it is one of the ‘most recently used’ functions in the category here.
If the vlookup function isn’t one of the ‘most recently used’ functions, then change the “Or Select a Category” field to ‘All, then scroll to the bottom, where you will see the word ‘vlookup’ and click on it.
Click ‘ok’ and the function arguments window will pop up. This table will show the Syntax (a fancy word for the format of the formula) and it will display the different parts of the syntax ie VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
STEP 3
Here, you should click into cell ‘B2’ because that’s the first number or reference for which you want to lookup a value. The ‘look up value’ is the corresponding value we want to find in the first column of the second table – so we want to find out what ‘Prize Money’ the runner in position 1 got in the table that spans columns H to J.
STEP 4
Now click in the next field, the ‘table array’ field (the table array consists of two or more columns of data and the first column in the table array – in this case col. H – has the corresponding numbers that the ‘lookup value is looking at ie the runner positions in this case).
STEP 5
After clicking in the ‘table array’ field, you then need to highlight the columns that that you want to look up data from; so here, we will highlight columns H to J, because our lookup value column starts from column H in the second table, and the Prize Money which we want to check is in col. J
An alternative way to populate the “Table_array” field is to highlight the range of data you’re looking up, starting with your first unique value – in this case cell H2. So you’d highlight cells H2 to J11, because J11 is the last cell in the range. You’d then need to FIX this table array by putting dollar signs in before the H, before the 2, before the J and before the 11, so your formula at the end looks like this: =VLOOKUP(B2,$H$2:$J$11,3,FALSE). If you’re in the table array field and you press F4, then Excel will do this automatically for you. This is useful to know if the spreadsheet doesn’t allow you to highlight cells H to J because some cells are merged or you’re getting an invalid error. But for now, just leave it, ensure, you’re fields look the same as those in the screenshot above then proceed to Step 6, the second last step.
STEP 6
When you highlight the columns, you should note that column J is the 3rd column from column H. We then move onto the next step, Col_index_num, which is the column Index number. Click in that field and type the number 3) – this is because column J is three columns away from column H.
STEP 7
Now, for the last bit, simply click in the ‘range lookup’ field and type in the word false. You should always type in the word false here, because we want the vlookup to return an exact match for what we‘re looking for, and if it doesn’t then we want it to return the word false.
Now click ‘Ok’, and like magic, you will notice that the vlookup has returned the figure of $1,000,000 against Usain Bolt’s name in the first table. If you look at the second table, the figure of $1,000,000 is also against Usain Bolt’s name, so we know the vlookup has worked. And that’s how you string together the vlookup formula in excel.
Now all you have to do is drag down the formula, so that the cells below cell D2 populate, and you save yourself the hassle of manually finding the corresponding Prize Money value for each and every athlete in the first table. In a work scenario, if you had hundreds of rows of data, this would literally save you hours of work!
IMPORTANT point to note – the numbers in the “lookup value” column MUST precede the data you’re looking up! The same is true for the table that you are looking up data from (you must ALWAYS move from the left to the right, when using vlookups!)
Congratulations on finishing the tutorial! If you want to try out a vlookup between two separate workbooks, you can do so here: https://howtovlookupinexcel.com/vlookup-between-two-workbooks
If you want to learn about Pivot Tables, you can do so via this website we created following user demand: http://pivottablesinexcel.com/
If you have problems with your vlookup click here – 13 common problems:
We ask that you take a moment to read our Terms and Conditions and Privacy Policies.
THANK YOU….Its awesome:-)
Thank you so much! It was indeed of real help.
Thanks so much!!!!! I finally understand it.
Thanks so much for the tutorial. It is very easy to understand. It helped me to understand the usage of VLOOKUP.
SIR,IF IWANT MERGE SHEET1 AND SHEET2. THEN HOW TO RUN VLOOKU?. PLS TELL ME.
Hi Anil
An example with two separate workbooks will be up soon but please see my explanation to Claire in the comments below, in the meantime.
Thank you so much. This has been really helpful. what about using multiple worksheets?
Hi Claire
Using multiple worksheets is pretty easy – I will post an example with multiple worksheets soon, but in essence, once you’ve reached Step 5 in the tutorial, all you need to do is then highlight the relevant columns in the other workbook (the first column should contain the “reference numbers” that are also in your first workbook – in my example the “position” numbers would be the “reference numbers”; the last column should contain the data you are trying to extract – as you highlight the columns, Excel will count the number of columns which you need to put in the “column_index_num” field in Step 6, then the rest of the steps are the same.
Really its good way to teach nd specially u give typed excel data..
tnx alot
Thank you!!! Yours is the first vlookup instructions I understand.
Very informative step-by-step instructions helped me.
You’re welcome.
Fantastic. Cleared the basics about vlook up. Thank you. Wonder if you have links for other formulas too that can help.
Hi Nahush
Any other formulas in particular that you want covered?
Thanks a Lot. Very Easy to understand
Great you!
Can you forward more guides to me please
Many thanks.
Hi Kamill
What other guides do you want to see? I’m planning to add some new content to the site, but it of course depends on what the visitors want to see.
You made it really easy to understand, it took hardly 5 minutes and the things were clear. Thanks.
Awesome! Thanks Arul!
Thanks for the easy explanation. Got an interview tomorrow, and this might get me the job. Thanks.
Great, good luck!
Hi, thank you very much for article, but what if you want to look up two values instead of one, if in your example we also have a list of the top 10 female runners then we want to look up the position column and runner column, a match on both then brings the prize money
Hi Kenny
Apologies for the delay in responding, but you can only lookup one value for each row. However, you can simply add a column for the female runners and then do a vlookup for all of that data within seconds.
Thank you for sharing. You make it so simple and very understand. That’s AWESOME!!!
I have to say, that out of all the tutorials and “help” I’ve been given, this is by far the easiest and simplest explanation I’ve seen. Well done!
I do have one question – when I downloaded the sample file, and followed along, I receive, “N/A” if I create a mis-match rather than the word, “False”. Any ideas?
Hi Rwest
Thanks for the compliment. When you say if you “create a mis-match” can you clarify further what you mean? Did you put something else other than the word “false” in the “Range lookup” field in step 7? If you could clarify, I can advise further…
I think I know why you got N/A. Because I got the same error. But then I managed to fix it myself. Thanx for such a simple explanation. Coming back to your error. In this VLOOKUP formula =VLOOKUP(A4,F:H,3,FALSE) F;H is the data range, in your case it might be different alphabets depending on where the data is placed in excel. N/A is coming up because instead of F;H your formula has some numbers after alphabets F and H (ex F12;H10)which is causing the data search range to change in each cell and the required data is going out of range which is the reason why your output is N/A. So removing the numbers and putting only F;H selects the full data range. Hope my explanation is helpful.
That’s a plausible explanation. However, if the tutorial is followed to the letter, then the error you have described wouldn’t come up that way. Step 5 in the tutorial clearly shows that the table array only consists of letters (H:J) not numbers – I have suggested using the vlookup this way to avoid getting the error you have described. So I am unsure as to how Rwest got his error. However, I am also intrigued.
I LOVE YOU…! Thanks.
Thanks!
It was a wonderful explanation. I was not able to do a vlookup with 2- separate spreadsheet. I would appreciate if you show in the form of flow chart to do with 2 different spread sheet.
Thank you
Hi Karthik
The tutorial with two separate spreadsheets is now here: https://howtovlookupinexcel.com/vlookup-between-two-workbooks
Apologies for the delay in responding.
Always knew that I should have learnt to use this function long ago; now I quickly have. Thanks a lot!
Great news, Tomas!
What a explanation! It’s really useful. Keep continue your task.
Thanks Vithy!
This was really helpful…I literally picked it up in 10 minutes. When my boss tested me I passed! Very pleased, as I was quite worried about vlookups…this made it simple, so thanks!
That’s awesome Debbie! Congrats!
I Need help , i need to match a set of data on one spreadsheet to another using Vlook up , i am not good at excell .
I have a list of groups on one spreadsheet and on another i have a set of same groups from the system and more i want to verify if all the groups in tyhe smaller set of data are on the system generated groups .
Hi Honelicious
Without seeing the spreadsheet itself, it can be difficult to advise. If you would like to send me the spreadsheet via the ‘Contact Us’ section on the website, I can fix the problem for a fixed fee of $7 – this will include reviewing your spreadsheet for anything that may not make the vlookup work, as well as writing out the steps that I took to fix the problem. Let me know if you’d like me to do so.
Thanks for the good tutorial.
Thank you so much for this tutorial! It really helps.Hope you’ll do more tutorial on excel function. Thanks to you and may God bless you more. 🙂
Thanks a lot. Any other link for explaining other functions
This is really wonderful, I must tell you this for free. This is the first time am going into detail in about the use of excel. I will let you know when I need help from you. Thanks a lot.
No worries – glad I could help.
This is good
Thanks!
I want to maintain stock of my raw materials. The problem I am facing is similar to the problem if let us say that the runner “USAIN BOLT” is in position 1 and also in another position, lets say 4. Vlookup will show only one result.
Hi Sumit
You are experiencing problem number “3” on the “6 common problems…” page on this site. The only way to resolve that is to remove the duplicate data – I would suggest that you ask the person who provided you with data to provide an up to date or realistic list – if you read problem no 3, you will see what I mean.
Nice Job!
Thanks Luis!
Thank you very much. very helpful indeed. The whole brobdingnagian issue of VLookUp has been clearly, concisely and precisely explained.
Thanks Mohammed – glad you found it useful.
Thanks for quick tutorial! This one makes look VLookUp so easy :-)…I tried using VLookUp few times in past but left in between because I was not able to use it appropriately – but this tutorial helped me do this time.
That’s great news, Dhruv. I’m glad that the tutorial helped!
Thanks so much for such a clear tutorial!
You’re welcome, Abi.
thankss a lot i find a solution of my problem
Beautifully explained and finally VLOOKUP is clear to me now.
EXCELLENT instructions!! You made then very clear and easy to follow the step by step process.
Thanks Jestine – I’m glad they were helpful.
Great explanation!! It saved hours of my work.
Awesome!!! That’s great news.
Thank you for such a good step by step tutorial. It helped me alot.
You are most welcome, Saif.
I have two columns of data which make up a histogram, column B contains frequency and column C contains the histogram bin midpoint. I want to get the mode of the data. So, I can use the max function to determine the row with the greated number of counts, and then use vlookup to give the value of the corresponding bin.
I have one example that works just fine, finding the correct row each time. However, I have another exmample where vlookup always gives the value at the bottom of the second column, no matter what the values are in the first column.
I have typed the values in by hand so I know they are not preceeded by ‘s or anything like that. All colums are formatted “general”.
I can send examples if you wish.
Hi Robert
Apologies for the delay in responding.
Yes, it would be easier if you sent an example / specimen spreadsheet, which I can have a look at. I have added a new problem to the “problems” page (problem number 6) and initally thought it may be that problem. However, if you can provide an example to provide clarity, I can help to resolve the problem.
Rgds
Thank you, your explanation is so clear and easy to understand.
I wish i found such a perfect explanation of the pivot tables…
Hi Tania
Thanks for the feedback – I appreciate it! You’re the second person who has asked about pivot tables. I am working on another site which will contain other Excel functions. This one is dedicated to the vlookup because it is the function that so many people struggled with at work, so I decided to share my solutions here.
Thank you so much for the article.Really helpful, because the way the concept is explained is nice.