+ Reply to Thread
Results 1 to 13 of 13

Multiply depending on level to find Total Qty in Bill of Materials

  1. #1
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Question Multiply depending on level to find Total Qty in Bill of Materials

    Hi all

    I have a problem that i cannot seem to wrap my head around.

    When we extract a Bill of Material from our PLM software to Excel, it is only able to tell us the quantity of the specific item - hence if the item is part of a sub-assembly of which we need 3, then it cannot tell the 'total quanntity'.

    I have included an example, which also contains an example of the values needed.

    Thanks in advance!

    Br, Mike
    Attached Files Attached Files
    Last edited by MikeOlsen8000; 03-17-2020 at 07:08 AM.

  2. #2
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Multiply for total quantity in BoM

    I see that you need 1 Main Assembly. Are the ratios in column C correct? If so your numbers in red are not consistent for BOM.

    Typically the Main Assembly is where the multiplier is found. Please check your example.

  3. #3
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Re: Multiply for total quantity in BoM

    Hi RChad, thanks for your reply.

    I am trying to create a dynamic function, which can be used for all of our BoM extracts.

    What I need to know is how many of each part, in total, that we will need for each Main Assembly. Because of this the multiplier should not be found in the Main Assembly, but as a continious multiplication of each level until the part.

    Example:

    1 x Main Assembly * 2 x Assembly 1 * 2 x Sub Assembly 1 * 2 x Part 1

    Based on the above we would need a total of 8 'Part 1'.

    Does that make any sense?

    Br, Mi

  4. #4
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Multiply for total quantity in BoM

    I work in production and for our system the quantities for one main assembly is setup manually for the sub assemblies and parts needed. Then if more than one main assembly is ordered then the ratios all get multiplied by the number ordered.

    Again they are manually set up initially. I am sorry but this isn't making sense to me. Perhaps someone else can help you or you can refer to a BOM template of sort.

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiply for total quantity in BoM

    Is there a limit to the BOM depth (in this case, 4), or is this a variable?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  6. #6
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Re: Multiply for total quantity in BoM

    Hi Olly,

    Sorry, forgot to mention.

    This is variable, but at the moment 12 levels is the max. However, this could easily change so if its possible to make it truly variable it would be preferred.

    Br. Mike

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Multiply for total quantity in BoM

    What is BOM pray?
    Including initialisms or use of professional jargon in titles is not a good idea.
    Cheers

  8. #8
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Re: Multiply for total quantity in BoM

    Point taken.

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Multiply depending on level to find Total Qty in Bill of Materials

    Thank you for your understanding

  10. #10
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Re: Multiply for total quantity in BoM

    Hi Olly,

    Sorry, forgot to mention.

    This is variable, but at the moment 12 levels is the max. However, this could easily change so if its possible to make it truly variable it would be preferred.

    Br. Mike

  11. #11
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiply depending on level to find Total Qty in Bill of Materials

    We can use Power Query for this.

    Rather than completely reinventing the wheel, Imke Feldman has done some excellent work on processing multi-level BOMs, here: https://www.thebiccountant.com/2017/...l-and-powerbi/

    In your case though, we first need to identify the Parent / Child relationships for your BOM.

    First, format your source data as a table.

    Now, first query:

    Please Login or Register  to view this content.
    Now we can lightly modify the query from Imke, in the link above:

    Please Login or Register  to view this content.
    This gives you rather more than just the Qty per component, which you initially required... Have a read of Imke's article to understand further.

    The attached workbook gives a simple output which matches your requirement.
    Attached Files Attached Files

  12. #12
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Multiply depending on level to find Total Qty in Bill of Materials

    Please try at D3
    =IFERROR(LOOKUP(2,1/($A$2:A2=A3-1),D$2:D2),1)*C3
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    03-17-2020
    Location
    Aarhus, Denmark
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Re: Multiply depending on level to find Total Qty in Bill of Materials

    Thank you all for the help, Olly's solution solved the problem perfectly.

    Bo_Ry, unfortunately your solution returned wrong results - but thanks for the effort.

+ 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. [SOLVED] Need cell to lookup price then multiply by quantity
    By CheleC in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-09-2019, 06:09 PM
  2. Total Quantity per some creteria
    By i82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2017, 02:49 AM
  3. [SOLVED] Running total of Quantity on Hand Vs Sales Vs Quantity to Produce
    By jespo1351 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2015, 07:34 AM
  4. Multiply text with a quantity
    By Collinder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-18-2014, 09:58 AM
  5. Formula to multiply total number per category with the % of total
    By tantcu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2013, 07:18 PM
  6. [SOLVED] How to get total quantity w/ criteria
    By Jaymenator in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-27-2012, 12:07 AM
  7. [SOLVED] excel multiply by different values based on quantity
    By ronzander1 in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 04:55 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