# Bill of Material - Structure

#### joeal29

##### New Member
Trying to see if I can get some help on this. I have a 3 columns of data. A Parent that begins with FG_ a Child and Qty needed of that child to make the parent part. A Child could be a parent part in a different row and so on. I need to calculate the required Child Qty to FG_ parent, taking into account that a Child in one row could be a Parent in a different row. Example, the FG_Bike needs 116 bearing, since each link requires 2 bearings and 58 links are required to make one chain and one chain is need for FG_Bike.

Current Structure

Parent...............Child...........Qty
FG_Bike..............Frame..........1
Frame................Tubes..........7
FG_Bike..............Brakes.........2
FG_Bike..............Chain......... 1

OUTPUT -------
Parent---------New Child---Qty at Lowest level
FG_Bike.............Frame...........1
FG_Bike.............Brakes...........2
FG_Bike.............Tubes...........7
FG_Bike..............Chain..........1
FG_Bike..............Bearings.......116

### Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,167,526
Messages
5,854,259
Members
431,629
Latest member
Killua96

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back