Correlating data to multiple parent items

pandadora

New Member
Joined
Sep 30, 2016
Messages
1
I have a dataset with multiple layers where certain data points correlate to a single piece then that single piece correlates to multiple points. I am trying to flatten the data set so that all base items correlate to the final item in the total quantities.

This is how the data is currently displayed
ITEMWHERE USEDQTY
1XMOD2
2YMOD1
3ZMOD1
4MODFG11
5MODFG22
6MODFG31

<tbody>
</tbody>

this is how it needs to be displayed:
ItemWhere UsedQty
1XFG12
2YFG11
3ZFG11
4XFG24
5YFG22
6ZFG22
7XFG32
8YFG31
9ZFG31

<tbody>
</tbody>

I have pulled the data that does not correlate to a finished product and did a vlookup, this works when there is more than one layer, but when the parent is linked to multiple second parents, it returns the first found value.

I've tried filling the series of second parent datapoints to the right of the spreadsheet, which works, but to clean the data up I have to insert and transpose the data and fill the base items in the blank area, and there is too much data to do that manually
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,875
Messages
6,122,039
Members
449,063
Latest member
ak94

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