+ Reply to Thread
Results 1 to 8 of 8

Bill of Material Data Look up issue

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Bill of Material Data Look up issue

    Greetings all,

    I have an inventory of several hundred raw material items. I have a sheet with all of the raw materials going down the left side and the finished goods going across the top with quantities required for each finished good making up the body of the data. These quantities are then summed to the right to give me my total material requirements.

    What I am attempting to do is to extract a concise bill of materials based on the finished good number. What I am afraid of is that I have wandered too far and have entered the realm of Access or some such.

    Suggestions? Solutions? Condolences?

    Thanks to all!
    Attached Files Attached Files
    Last edited by jacob@thepenpoint; 05-07-2013 at 10:09 AM.
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Bill of Material Data Look up issue

    Hoping that i understand your goal, pls give a try to this.

    In B20 and copy down, try this ARRAY formula.

    =IFERROR(INDEX($A$7:$A$16,SMALL(IF(B$7:B$16<>"",ROW($A$7:$A$16)-6),ROW(A1))),"")

    In C20 and copy down this one.

    =IFERROR(INDEX($B$7:$F$16,MATCH(B20,$A$7:$A$16,0),MATCH(B$19,$B$6:$F$6,0)),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Bill of Material Data Look up issue

    Thanks Fotis

    I haven't worked with many Array formulas so I will have to play around with this to see exactly what it is doing. It worked perfectly on the first BOM, but I'll need to tweek it to take care of the others it seems.

    I am going to call it solved! Thanks again.

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Bill of Material Data Look up issue

    BOM MRP.xlsm

    How's that..

    You need to insert a line of helper cells and unmerge your cells but that's all.

    It uses a combination of vlookup,hlookup and offset
    Elegant Simplicity............. Not Always

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Bill of Material Data Look up issue

    You are welcome. The only that you have to do is to change the range in this part of the formula, for the other BOM.

    ....SMALL(IF(B$7:B$16

  6. #6
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Bill of Material Data Look up issue

    Thanks again Fotis, changing that reference was all it took to work. I guess it is time for me to start working with arrays.

  7. #7
    Registered User
    Join Date
    05-03-2013
    Location
    Navi Mumbai, India
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Bill of Material Data Look up issue

    I'm assuming all your data is stored in Sheet1 as per table in the attachment, only starting from the top most cell i.e. A1.
    ("RM1" is in Cell A3, "RM2" in cell A4, and so on)

    Run the following macro when data has been set:

    Your results will be in Sheet2.

    Please Login or Register  to view this content.
    www.LaunchPixels.com
    www.imZeeshan.com

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Bill of Material Data Look up issue

    Quote Originally Posted by jacob@thepenpoint View Post
    Thanks again Fotis, changing that reference was all it took to work. I guess it is time for me to start working with arrays.
    Here is a very good link to start.

    http://www.cpearson.com/excel/ArrayFormulas.aspx

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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