+ Reply to Thread
Results 1 to 2 of 2

If column entry matches between worksheets, fill other columns in

  1. #1
    Registered User
    Join Date
    02-10-2015
    Location
    Canada eh
    MS-Off Ver
    2010
    Posts
    22

    Question If column entry matches between worksheets, fill other columns in

    Hey guys,

    So I have two worksheets, BOM (Bill of Materials) and Quotes (which imports a huge table from a mySQL database)

    The BOM has columns for: part_ID, name, manufacturer, model_number, pri_vendor, alt_vendor, cost, etc.
    the only columns which are populated in BOM are part_ID and name, the rest are left blank, to be populated by the quotes table

    The table in quotes has the same columns as the BOM, but they are all populated already

    The formula currently resides in the manufacturers column of the BOM. It sees the match between part_ID in the BOM and quotes table, and then fills in the manufacturers information into the manufacturers column of the BOM.

    Please Login or Register  to view this content.
    manufacturers column in quotes table > quote!$C$2:$C$377
    cell with Part_ID in BOM > $L13
    column with Part_ID in quotes table > quote!$A$2:$A$377

    I am hoping to get the formula to not only copy over the manufacturers info, but all the other columns as well

    Any help would be greatly appreciated

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: If column entry matches between worksheets, fill other columns in

    just change the index range on what column you want to return

    =INDEX(quote!$C$2:$C$377,MATCH($L13,quote!$A$2:$A$377,0))

    manufacturers column in quotes table > quote!$C$2:$C$377
    say
    Model Number column in quotes table > quote!$D$2:$D$377 then

    =INDEX(quote!$D$2:$D$377,MATCH($L13,quote!$A$2:$A$377,0))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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. If mySQL database column entry matches excel column entry, then...
    By khelza in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2015, 02:34 PM
  2. Replies: 5
    Last Post: 11-05-2014, 03:41 PM
  3. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  4. Return last entry in column that matches criteria
    By tomlancaster in forum Excel General
    Replies: 4
    Last Post: 01-22-2010, 10:27 AM
  5. Formula to fill a cell based on an entry in one of two worksheets
    By brisen09 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-16-2006, 12:05 AM

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