VLOOKUP Function Example

August 15th, 2004 | Categories: LOOKUP | Tags: ,

Let’s take a look at the VLOOKUP function. In our example we have a company with a list of part numbers, along with information about them. Let’s asssume this list is very long, and they would like to enter a part# in a cell and have it return information about that part quickly.

This picture shows our desired result. In the orange cell we enter a part number, then the location and price will automagically display

So how do we accomplish this? Here is the VLOOKUP in layman’s syntax

=VLOOKUP(CellToLookup ,RangeToLookIn, WhichColumnToReturn, ExactMatch?)

And now in practice:

1. We need a list of data sorted by the first column.
2. In a blank cell that we would like to return a result from the list, type =VLOOKUP(
3. Click on the cell where we will enter the value to lookup (this will enter the cell in your formula)
4. Hit , (comma)
4. Click and drag to select the entire list including headers
6. Hit, (comma)
7. Type the numerical value of the column you would like to return (A=1, B=2, C=3,,,,)
8. Hit ,(comma)
9. Type “False” and hit enter

Sidenote: Enter “TRUE” to find an approximate match, one reason you might use approximation is on data with Typos or poor standards, for example “MR Man” and it’s actually “MR. Man”.

Sidenote: This works across multiple worksheets. If you would like to store your data in one sheet, and your VLOOKUP in another, it’s the same process.

  1. mini agarwal
    September 24th, 2008 at 06:09
    Reply | Quote | #1

    Your site has given me the clearest possible explanation of some excel functions….Thanks.

  2. KARTHICK
    September 25th, 2008 at 07:05
    Reply | Quote | #2

    YOUR GRAPHICAL REPRESENTATION IS VERY USEFUL EVERYONE SHOULD KNOW THIS FUNCTION IS QUICKLY

  3. abhishek
    September 25th, 2008 at 08:06
    Reply | Quote | #3

    very very great site, its concept so clear that any one can learn anththing in excel

    very ver thanks

  4. December 9th, 2008 at 20:09
    Reply | Quote | #4

    Really-Really your site gives us answer with satisfactory. If you have your book about M.S.Excel formulas in hindi version then tell me by mail.

    Thank
    Gopal Singh Rawt

  5. Praneeth Karkera
    January 26th, 2009 at 04:59
    Reply | Quote | #5

    Excellent clarity on the formula

  6. shiv
    January 30th, 2009 at 09:54
    Reply | Quote | #6

    Thanks to a very good example on VLOOKUP Function

  7. March 12th, 2009 at 07:09
    Reply | Quote | #7

    it is really helpful for students to analyse the problem with some easy examples
    thanks a lot

  8. Yogesh
    April 14th, 2009 at 13:34
    Reply | Quote | #8

    From this wonderful example I can say I am able to use vlookup

  9. Ramesh Babu
    May 6th, 2009 at 09:41
    Reply | Quote | #9

    From this Example I got a clear idea, how to use VLOOKUP function

  10. May 26th, 2009 at 06:04

    Amazing example of vlookup… it gives me more idea on how to use excel…

  11. deepak narang
    July 9th, 2009 at 07:27

    very easily absorb….thanks a lot sir

  12. Ganesh
    July 10th, 2009 at 15:55

    Very good example of excel functions

  13. Vinit Kumar
    July 20th, 2009 at 09:22

    wonderful example

  14. Santosh Upadhyay
    July 20th, 2009 at 09:33

    Thanks for nice example.

  15. Ravi
    July 31st, 2009 at 18:35

    VLookup has been very clearly explained. Thank you very much.

    However when there is no data, my cell shows as #NA. How do we eliminate that and make it an empty cell.

  16. LABA
    September 3rd, 2009 at 07:05

    Hi All,
    Please help me to preparing a formula to get the following data in ms excel:

    month Name sal_Claim Sal_Paid
    July Anita 50000 40000
    July Binita 45000 41000
    July Ranita 48000 45000
    August Anita 55000 51000
    August Binita 45200 43000
    August Ranita 47500 45000

    If I enter month in cell B15 & Name in Cell B16 then I would like to get Salary Claimed in Cell B18 & Sal_paid in Cell B19.

    Plz help.

  17. george
    September 8th, 2009 at 06:46

    i got a clear idea abt vlookup from u r simple example.. bravo..!!
    thatnks dude. thank u verymuch

  18. Aditya
    September 23rd, 2009 at 16:06

    thanks so much for this tip, graphical representation always helps a lot

  19. Obaid-ur-Rehman
    October 6th, 2009 at 08:38

    Dear Writer,

    Thank you a lot to share you valueable information in very simple way.

    Thanks again.
    Obaid-ur-Rehman
    Karachi- Pakistan

  20. SHASHI BHUSHAN RAI
    October 14th, 2009 at 06:27

    Really Great !! Learning Excel is so easy from your nice website

    – Shashi

  21. qazi
    October 16th, 2009 at 06:24

    This site is very usefull for students !!!

  22. jay
    October 22nd, 2009 at 16:14

    big thanks!please continue to help others.

  23. Rakesh
    November 3rd, 2009 at 17:40

    hey, Ravish.. i have a solution for our problem….very simple….if u want to eliminate #NA…type the following..=if(istext(cell value,vlookup(cell value,cell range, column to return,false),”")
    and your cell will be blank if nothing is entered.

  24. November 6th, 2009 at 06:16

    how to locate vlookup?

  25. CA. Rahul
    November 30th, 2009 at 09:11

    Excellent clarity in formulas.

    Keep it up..

  26. Vishal
    December 13th, 2009 at 10:13

    Awesome example dude…..this explanation has helped me a lot ….thanks…

  27. Noor Hyatt Khan
    December 16th, 2009 at 07:52

    abhishek :very very great site, its concept so clear that any one can learn anththing in excel
    very ver thanks

    Very well its indeed help me alot and give me more clarity, Thank you so much bro.

  28. Noor Hyatt Khan
    December 16th, 2009 at 07:53

    Very well its indeed help me alot and give me more clarity, Thank you so much bro.

  29. December 28th, 2009 at 04:27

    And now in practice:

    1. We need a list of data sorted by the first column.
    2. In a blank cell that we would like to return a result from the list, type =VLOOKUP(
    3. Click on the cell where we will enter the value to lookup (this will enter the cell in your formula)
    4. Hit , (comma)
    4. Click and drag to select the entire list including headers
    6. Hit, (comma)
    7. Type the numerical value of the column you would like to return (A=1, B=2, C=3,,,,)
    8. Hit ,(comma)
    9. Type “False” and hit enter

  30. DHINESH
    January 6th, 2010 at 19:52

    VERY EASY TO LEARN AND IT HELPED ME A LOT

  31. February 11th, 2010 at 11:05

    It’s very good tutorial, very easy to understand and specified…

  32. Pranab
    March 10th, 2010 at 07:03

    very very great site, its concept so clear that any one can learn anththing in excel
    very ver thanks

  33. PK DAS
    March 19th, 2010 at 12:22

    I can not understand please send with attachment

  34. Pramod Kumar
    March 28th, 2010 at 11:13

    Hi,

    I am trying to find a solution through Vlookup function, can someone help?

    I have two sheets (sheet1 and sheet2), I need to vlookup A1 of Sheet1 in Sheet2 D3, E3, F3 after CONCATENATEING (A3:D1), (A3:E1), (A3:F1) cells and put corresponding values in Sheet1 F2, F3 etc. Please refer to the attached file.

    Anticipating quick response.
    Pramod