Hi,
I am trying to automate some of my product upload CSV files, I have the below in Columns A to C.
I would like to find all the parent item and bring in the value of the Main item next to all the childs but want the Parent itself blank, like so -
This basically says - This child item is part of this Matrix Item - so when adding add all these Child items to the Parent.
I have tried using Index Match, Vlookup and combination of if lookups but I can't get it to work
please can some-one help me?
Thanks
I am trying to automate some of my product upload CSV files, I have the below in Columns A to C.
Code:
[TABLE="width: 615"]
<tbody>[TR]
[TD]Item Name[/TD]
[TD][/TD]
[TD]Matrix Type[/TD]
[TD][/TD]
[TD]Sub-Item of[/TD]
[/TR]
[TR]
[TD]Test 1 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test a[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test b[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test c[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test 2 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test I[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test II[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test 3 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test Z[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test Y[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test W[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Code:
[TABLE="width: 652"]
<tbody>[TR]
[TD]Item Name[/TD]
[TD][/TD]
[TD]Matrix Type[/TD]
[TD][/TD]
[TD]Sub-Item of[/TD]
[/TR]
[TR]
[TD]Test 1 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test a[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 1 - Main Item[/TD]
[/TR]
[TR]
[TD]Test b[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 1 - Main Item[/TD]
[/TR]
[TR]
[TD]Test c[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 1 - Main Item[/TD]
[/TR]
[TR]
[TD]Test 2 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test I[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 2 - Main Item[/TD]
[/TR]
[TR]
[TD]Test II[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 2 - Main Item[/TD]
[/TR]
[TR]
[TD]Test 3 - Main Item[/TD]
[TD][/TD]
[TD]Parent[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test Z[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 3 - Main Item[/TD]
[/TR]
[TR]
[TD]Test Y[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 3 - Main Item[/TD]
[/TR]
[TR]
[TD]Test W[/TD]
[TD][/TD]
[TD]Child[/TD]
[TD][/TD]
[TD]Test 3 - Main Item[/TD]
[/TR]
</tbody>[/TABLE]
This basically says - This child item is part of this Matrix Item - so when adding add all these Child items to the Parent.
I have tried using Index Match, Vlookup and combination of if lookups but I can't get it to work
please can some-one help me?
Thanks
Last edited: