I have a table with Sku and Item Name. There are multiple lines with the same Sku. I want to take this information and create a table showing one line for the sku name and place an "X" with the Item Name that make up the Sku.
Beginning data table
[TABLE="width: 561"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]SKU[/TD]
[TD]Item Name[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Beef Bully Stick 6"[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Small Generic Box[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Box Label Small[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Beef Label[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Beef Bully Stick 12"[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Small Generic Box[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Box Label Small[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Beef Label
[/TD]
[/TR]
</tbody>[/TABLE]
End result that I am seeking
[TABLE="width: 822"]
<colgroup><col span="6"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Beef Bully Stick 6"[/TD]
[TD]Beef Bully Stick 12"[/TD]
[TD]Small Generic Box[/TD]
[TD]Box Label Small[/TD]
[TD]Beef Label[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD="align: center"]X[/TD]
[TD][/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD][/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[/TR]
</tbody>[/TABLE]
Of course the beginning table has about 1200 lines to it. I have tried If(And(match which gives me "X" in cell that should not have them because of the condition is satisfied once it finds a match in both columns. I need the column match to be for the same row.
Beginning data table
[TABLE="width: 561"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]SKU[/TD]
[TD]Item Name[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Beef Bully Stick 6"[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Small Generic Box[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Box Label Small[/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD]Beef Label[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Beef Bully Stick 12"[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Small Generic Box[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Box Label Small[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD]Beef Label
[/TD]
[/TR]
</tbody>[/TABLE]
End result that I am seeking
[TABLE="width: 822"]
<colgroup><col span="6"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Beef Bully Stick 6"[/TD]
[TD]Beef Bully Stick 12"[/TD]
[TD]Small Generic Box[/TD]
[TD]Box Label Small[/TD]
[TD]Beef Label[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ELF02[/TD]
[TD="align: center"]X[/TD]
[TD][/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[/TR]
[TR]
[TD]ELF03[/TD]
[TD][/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[/TR]
</tbody>[/TABLE]
Of course the beginning table has about 1200 lines to it. I have tried If(And(match which gives me "X" in cell that should not have them because of the condition is satisfied once it finds a match in both columns. I need the column match to be for the same row.