+ Reply to Thread
Results 1 to 34 of 34

VLOOKUP Tutorial?

  1. #1
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    VLOOKUP Tutorial?

    Can anyone reccomend an online video or step by step tutorial for VLOOKUP please?

    I can work using text so pick up 'monkey' 'loves bananas', 'John' 'drives a ford' etc is working but I just cannot get my brain into gear for numbers?

    Type a store number '2345' etc into a cell and it returns the store name of 'Tokyo' etc into the cell adjacent on the right is driving me crazy.

    Help please :-?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VLOOKUP Tutorial?

    Google contextures vlookup
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161
    Quote Originally Posted by shg View Post
    Google contextures vlookup
    Thanks SHG, Will give it a try :-) There must be one tiny part of it I just don't get when it comes to numbers.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: VLOOKUP Tutorial?

    There is no difference between looking up numbers or looking up text - the only thing you need to make sure of, is that the number you are searching for, and the numbers in the data range, really ARE values, and that they are both EXACT.
    1.0 <> 1.000000000001

    The item you are searching for also MUST be in the 1st column of the vlookup range
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Even more confused now! :-D

  6. #6
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    I have store numbers in A and names in B

    1234 London
    2345 Tokyo
    3456 New York
    4567 Berlin

    Etc but I still just end up banging my head against a brick wall :-(

  7. #7
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Thought it was because I had the store numbers/names to the right of the columns on my sheet or that I had them on another sheet entirely but it still baffles me.... "Can't see the wood for the trees" comes to mind.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: VLOOKUP Tutorial?

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  9. #9
    Forum Contributor Mvaldesi's Avatar
    Join Date
    01-21-2011
    Location
    Plano, TX
    MS-Off Ver
    MS365 (PC) v.2108
    Posts
    259

    Re: VLOOKUP Tutorial?

    Are you numeric values formatted as text? Do they contain leading or trailing spaces? Rogue spaces are often the culprit when VLOOKUPs that look like they should work don't. Your lookup_value and the array at which it is looking have to be EXACTLY THE SAME for a lookup to work, i.e.: "1234" and "1234 " (note the space after the 4 in the latter) are NOT matches insofar as a VLOOKUP goes.

  10. #10
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161
    I hope this makes sense??

    My plan was to have the list of store numbers/names on a seperate sheet so there was no chance of it being corrupted if someone adds columns etc.
    Attached Files Attached Files

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: VLOOKUP Tutorial?

    is that what you want?

    I prefer index/match
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    if you want store numbers/names on a seperate sheet so simply change reference
    Attached Files Attached Files
    Last edited by sandy666; 06-13-2018 at 06:13 PM.

  12. #12
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Exactly what I want Sandy! So where is the formula for that on the sheet so I can try to understand it and play with it on a new sheet?

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    formula is there where result is

  14. #14
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Do i always have to put the number and name reference to the left of the columns I want to display??

  15. #15
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: VLOOKUP Tutorial?

    I don't understand.
    You want put the number (ID or something) to the first cell and in next cell you want to return name associated to this number
    you can put the number anywhere but you'll need change reference lookup_value from MATCH function just to this cell where you put your number

    see attached file, but layout like this doesn't make any sense. this is example only
    Attached Files Attached Files
    Last edited by sandy666; 06-13-2018 at 06:46 PM.

  16. #16
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    I have worked out how to add more numbers/stores to column A and B and to pick them up in F5 but how do I add rows int F6, F7, F8 etc?

  17. #17
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: VLOOKUP Tutorial?

    It's depend what you want to achieve. Change your source to the Excel Table then add what you want
    Change formula to =IFNA(INDEX($B$2:$B$8,MATCH($F5,$A$2:$A$8,0)),"") without $ sign and drag down
    then type the number in column F and you'll see result in column G
    Attached Files Attached Files

  18. #18
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    I think you should read this: INDEX & MATCH in Excel - a better alternative to VLOOKUP
    there is more different situations to learn

    Read me

    Try to avoid joining to my Black List by doing this below

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.
    Last edited by sandy666; 06-13-2018 at 07:32 PM.

  19. #19
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161
    Quote Originally Posted by sandy666 View Post
    I think you should read this: INDEX & MATCH in Excel - a better alternative to VLOOKUP
    there is more different situations to learn

    Read me

    Try to avoid joining to my Black List by doing this below

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.
    My brain is minced...... this might as well be a recipe for bread for any sense its making :-(

  20. #20
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding

    For normal conversational replies, try using the QUICK REPLY box below.

    but where is the problem?

  21. #21
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

  22. #22
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161
    Its just me Sandy, my poor old brain isn't getting this for some reason :-?

  23. #23
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    Ok then, I posted links to other sites with tutorials (simplest I hope) which you can read with coffee break

  24. #24
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Have been on the tea, will have a coffee, give my head a shake and try again :-D

  25. #25
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    Sure, no problem

    I'll give you more "headache" Because formula contain two functions so read about INDEX() and MATCH() how they works.

  26. #26
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Noooooooooooo! :-?

  27. #27
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    I copided your formula into my full sheet, changed the cell and copied it down. It worked so i copied it into the other two columns for store number/names and now nothing works

  28. #28
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: VLOOKUP Tutorial?

    Check references or attach desensitized workbook with reflected your original type of data and place where they are
    check if your input exist in your source table because if not you'll see nothing

    here is example with two sheets
    source on sheet1
    result on sheet2
    see references in formula
    Attached Files Attached Files
    Last edited by sandy666; 06-13-2018 at 08:36 PM.

  29. #29
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Copied the info from coluns A and B to same position on my main sheet. Changed your formula to column L. It worked ok then when I went back to it i got a column of '0'

  30. #30
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    post#28 was updated so re-read this

    sorry my friend but 2:30 am here and I don't want my keyboard to be reflected on my face so I am out of here.
    cya next time
    Last edited by sandy666; 06-13-2018 at 08:41 PM.

  31. #31
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Thank you Sandy. Will try again when fuelled by caffeine :-)

  32. #32
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: VLOOKUP Tutorial?

    You are welcome
    If you have any questions - post them and I'll read them later

  33. #33
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: VLOOKUP Tutorial?

    This is an interactive training excel file by benishiryo for vlookup, maybe it is of some use to you.

    However, if you are almost there - continue with sandy as index match is more flexible and you seemed to suggest you might want to have the number and name reference the other way around.
    Attached Files Attached Files
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  34. #34
    Forum Contributor
    Join Date
    02-03-2018
    Location
    Edinburgh
    MS-Off Ver
    Office Professional Plus 2016
    Posts
    161

    Re: VLOOKUP Tutorial?

    Thank you everyone....... I have it now. The power of a cheese and onion sandwich should never be underestimated!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Tutorial
    By Rashidul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2013, 06:16 AM
  2. tutorial just for the language itself
    By Cyrano de Bergerac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2013, 07:58 AM
  3. VBA tutorial
    By gerard_gonzales33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2012, 03:06 AM
  4. Best VBA tutorial?
    By jfcutler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2011, 02:18 PM
  5. video tutorial
    By martindwilson in forum The Water Cooler
    Replies: 1
    Last Post: 04-17-2011, 08:05 PM
  6. VBA Tutorial
    By Joghy in forum Excel General
    Replies: 1
    Last Post: 02-14-2009, 09:29 AM
  7. [SOLVED] Tutorial
    By cosito1231 in forum Excel General
    Replies: 1
    Last Post: 09-06-2005, 10:05 PM
  8. Tutorial
    By Amarjyot_b in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-14-2005, 06:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1