JPCoelho29
New Member
- Joined
- Feb 13, 2015
- Messages
- 3
Hi, I'm not an excel expert and I need some guidance.
I need to create a table where I can see the the quantity of material requirements for the ordered quantity of products. I have two tables like these:
Orders Table
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Order number[/TD]
[TD="align: center"]Product Code[/TD]
[TD="align: center"]Ordered Quantity[/TD]
[/TR]
[TR]
[TD="align: center"]52098[/TD]
[TD="align: center"]2147561[/TD]
[TD="align: center"]15000[/TD]
[/TR]
[TR]
[TD="align: center"]52098[/TD]
[TD="align: center"]3387595[/TD]
[TD="align: center"]5000[/TD]
[/TR]
</tbody>[/TABLE]
Bill of Materials Table
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]
[TD="align: center"]SubProduct Code[/TD]
[TD="align: center"]SubProQuantity/Product[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]80603[/TD]
[TD="align: center"]0,5[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]23127[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]11002[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]80603[/TD]
[TD="align: center"]0,5[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]29034[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
[TD="align: center"]11015[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
And the table that I want to get is something like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order Number[/TD]
[TD]Product Code[/TD]
[TD]SubProduct Code[/TD]
[TD]SubProduct Total Quantity[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
[TD]
[TD]7500[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
[TD]
[TD]15000[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
[TD]
[TD]15000[/TD]
[/TR]
</tbody>[/TABLE]
Someone knows how can I achieve this result? Thanks in advance!
I need to create a table where I can see the the quantity of material requirements for the ordered quantity of products. I have two tables like these:
Orders Table
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Order number[/TD]
[TD="align: center"]Product Code[/TD]
[TD="align: center"]Ordered Quantity[/TD]
[/TR]
[TR]
[TD="align: center"]52098[/TD]
[TD="align: center"]2147561[/TD]
[TD="align: center"]15000[/TD]
[/TR]
[TR]
[TD="align: center"]52098[/TD]
[TD="align: center"]3387595[/TD]
[TD="align: center"]5000[/TD]
[/TR]
</tbody>[/TABLE]
Bill of Materials Table
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]
Product Code
[/TD][TD="align: center"]SubProduct Code[/TD]
[TD="align: center"]SubProQuantity/Product[/TD]
[/TR]
[TR]
[TD="align: center"]
2147561
[/TD][TD="align: center"]80603[/TD]
[TD="align: center"]0,5[/TD]
[/TR]
[TR]
[TD="align: center"]
2147561
[/TD][TD="align: center"]23127[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
2147561
[/TD][TD="align: center"]11002[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
3387595
[/TD][TD="align: center"]80603[/TD]
[TD="align: center"]0,5[/TD]
[/TR]
[TR]
[TD="align: center"]
3387595
[/TD][TD="align: center"]29034[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]
3387595
[/TD][TD="align: center"]11015[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
And the table that I want to get is something like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order Number[/TD]
[TD]Product Code[/TD]
[TD]SubProduct Code[/TD]
[TD]SubProduct Total Quantity[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
2147561
[/TD][TD]
80603
[/TD][TD]7500[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
2147561
[/TD][TD]
23127
[/TD][TD]15000[/TD]
[/TR]
[TR]
[TD]52098[/TD]
[TD]
2147561
[/TD][TD]
11002
[/TD][TD]15000[/TD]
[/TR]
</tbody>[/TABLE]
Someone knows how can I achieve this result? Thanks in advance!