Struggling with this one - I have a matrix/grid type setup for an entire product ranges' bills of materials. What I want to do is return every named instance of an individual raw material, based on matching a part number. In addition, it needs to return said raw material name only if the usage is greater than 0. In every case, there will be more than one raw material going in to each part.
Raw materials are in B2:I2, Part numbers in A3:A12. Usages in B3:I12.
Plan would be to have a summary type sheet that will allow the part number to be keyed in, which returns all raw materials that go in to the product. Am currently at a complete loss as to how to accomplish this! Tried various combinations of array formulas, but have had no luck tweaking other people's examples for my purposes. Also unclear as to whether this is best achieved using formulas, or VBA.
Example of the layout below:
So on a summary sheet Cell A1 for e.g. the part number would be entered: returning in column B all of the raw materials that comprise that part.
- So for Part 2, I'd be aiming to see Raw Material 1 in B1, Raw Material 6 in B2 & Raw Material 8 in B3.
- For Part 6, this would be Raw Material 1 in B1 only.
Hopefully that makes sense, any ideas gratefully received!
Thanks
Raw materials are in B2:I2, Part numbers in A3:A12. Usages in B3:I12.
Plan would be to have a summary type sheet that will allow the part number to be keyed in, which returns all raw materials that go in to the product. Am currently at a complete loss as to how to accomplish this! Tried various combinations of array formulas, but have had no luck tweaking other people's examples for my purposes. Also unclear as to whether this is best achieved using formulas, or VBA.
Example of the layout below:
So on a summary sheet Cell A1 for e.g. the part number would be entered: returning in column B all of the raw materials that comprise that part.
- So for Part 2, I'd be aiming to see Raw Material 1 in B1, Raw Material 6 in B2 & Raw Material 8 in B3.
- For Part 6, this would be Raw Material 1 in B1 only.
Hopefully that makes sense, any ideas gratefully received!
Thanks