Converting Bill of Materials to Pivot Table

keelaboosa

New Member
Joined
Apr 3, 2018
Messages
35
I've got a BOM in the following format:

Item
Description
1
Pants
1.1
Right Pants Pocket
1.1.1
Keys
1.1.2
Change
1.1.3
Phone
1.2
Left Pants Pocket
1.3
Back Pants Pocket
1.3.1
Wallet
1.3.2
Comb
2
Hat
3
Shirt
3.1
Right Shirt Pocket
3.2
Left Shirt Pocket

<tbody>
</tbody>


I want to turn into this format for a pivot table

L1
L2
L3
Pants
Pants
Right Pants Pocket
Pants
Right Pants Pocket
Keys
Pants
Right Pants Pocket
Change
Pants
Right Pants Pocket
Phone
Pants
Left Pants Pocket
Pants
Back Pants Pocket
Pants
Back Pants Pocket
Wallet
Pants
Back Pants Pocket
Comb
Hat
Shirt
Shirt
Right Shirt Pocket
Shirt
Left Shirt Pocket

<tbody>
</tbody>
I've figure out how to split the Item column from the first table using Power Query, but I'm at a loss how to get the correct Descriptions in the appropriate cells.

Any ideas?

<tbody>
</tbody>
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,753
Messages
6,126,674
Members
449,327
Latest member
John4520

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top