+ Reply to Thread
Results 1 to 10 of 10

VLookup format

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    VLookup format

    Here's a rundown of what I'm looking to do but I can't figure out how to grab the necessary information from the "Inventory" tab to this one.. [Excel Document attached]

    I want to type an Asset Number in B7. And have the information for Make / Model / Description / Location / Date Entered / Owner / Comments pulled automatically for the Asset Number I've specified which is Column A on the "Inventory" tab.

    My list is continuously growing so it would need to allow for new rows that do not exist yet.

    I looked through the forums and couldn't find my exact need. Any help on this would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: VLookup format

    Is this what you need?

    Good Luck!

    Tom

    I removed your : in column A so the names match the names in the headers in the inventory table.
    Last edited by Tank997; 03-08-2013 at 03:58 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: VLookup format

    You're right about using VLOOKUP. Format is VLOOKUP(What, where is the table of data, which column to select, FALSE-for exact match).

    To cater for expanding data, rather than selecting just the current range of data, select whole columns, and you'll end up with, e.g. in cell B4,
    =VLOOKUP(B7,Inventory!$A:$T,3,FALSE)

    You will run into a problem with the fact that your BF#s are actually stored as text. That means that in B7 you need to type e.g. '01001 (note the apostrophe) to make it work.

    Perhaps better would be to have numbers in the BF# column, with custom formatting 00000, then you only need to type 1001 in B7 to make it work.
    Kind Regards,

    Out of the Hat

    "Computers are stupid - they do EXACTLY what you tell them to"

    If I've helped you with a problem, please say thanks by clicking the small star icon on the left.

  4. #4
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: VLookup format

    Or better still, make use of Excel's table functionality as suggested by Tank!

    His auto-generation of the numbers (e.g. 3 above) is much safer too, as it protects against new columns being added....

    Glad Tank's less lazy than me...

  5. #5
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: VLookup format

    Out of the Hat good point about the text numbers. in the input cell, Because the data on the inventory sheet is in a table using the table as the lookup range makes it dynamic by just using the structured table reference for the range name.

  6. #6
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: VLookup format

    LOL but you type much faster than I do

    One other suggestion I would make is, if possible, move the input row for the Asset to the top of your range, say row 2 or 3 so the two input cell are together it will make data enter faster and will also help with not over writing the formulas by mistake.
    Last edited by Tank997; 03-08-2013 at 04:11 PM.

  7. #7
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: VLookup format

    I guess it depends how the data comes out of the database. If it's coming out as text, you can either use the apostrophe in B7, or instead type a number in, then use TEXT(B7,"00000") instead of B7 in the VLOOKUP ....

  8. #8
    Registered User
    Join Date
    06-12-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: VLookup format

    Tank,

    This was exactly what I needed. Thank you for your quick assistance in this matter!

  9. #9
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: VLookup format

    I decided years ago to learn to touch-type. Great decision! Mavis Beacon Teaches Typing, c $30 from Amazon! Excellent program.

  10. #10
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: VLookup format

    Thanks I will check out that typing progrm!

    I added an activeX combo Box for you Asset number look up check it out and see what you think.

    Forgot the file.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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