+ Reply to Thread
Results 1 to 4 of 4

vlookups

  1. #1
    Registered User
    Join Date
    10-22-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    9

    vlookups

    Hi,

    I'm trying to create a new costing form which takes product costing details from numerous excel files with cost information on.

    I have two sheets on the costing form. Sheet 1 is the main page which will have all of the required information on. In the first column the user will input the section number (which corresponds to the file the information should be found in) and in the second column the user enters the part number. The rest of the information should then fill in automatically.

    Sheet2 shall have a list of section numbers and the corresponding VLOOKUP formulas to find the correct info.

    So Sheet 2 has this formula: =VLOOKUP(Sheet1!B2,'K:\Product Database\2 - PRODUCTS.xls'!test,6,FALSE)
    Sheet 1 has this: =VLOOKUP(A2,Sheet2!A1:B1,2,FALSE)

    So sheet 1 is bringing the VLOOKUP from Sheet2 based on the section number in the first column. That VLOOKUP then checks the file relating to that section for the part number an brings the costing information across.

    The issue with this is that Sheet 1's formula will always bring back a VLOOKUP looking for the part number in cell B2. How do I amend the Sheet 2 formula so that when it is brought across to Sheet 1 it looks in column B of the row it is on? I believe it is the bit in bold that needs changing?

    THanks

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: vlookups

    Describe problem and your desired results at workbook for clear picture, and upload it at the forum. To do that, click "Go Advanced" button and find Paperclip Button to attach the file.

    Thanks

  3. #3
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: vlookups

    Hi,

    I guess the formula at Sheet2 cell B2 is :

    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  4. #4
    Registered User
    Join Date
    10-22-2014
    Location
    england
    MS-Off Ver
    2007
    Posts
    9

    Re: vlookups

    Thanks for the help. I ended up doing a massive if formula i.e. if c21=1 vlookup here, if it =2 vlookup here...

    Now to try and get hyperlinks to other files to copy across...

+ 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. Need help on Vlookups
    By Brian13 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2014, 11:50 AM
  2. Vlookups
    By Dibbley247 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2013, 07:52 AM
  3. [SOLVED] Vlookups
    By chris.slater in forum Excel General
    Replies: 1
    Last Post: 03-15-2012, 02:34 PM
  4. Vlookups
    By Lynchbro in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2009, 02:45 PM
  5. [SOLVED] Vlookups
    By Shaya M in forum Excel General
    Replies: 3
    Last Post: 05-27-2005, 03:05 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