[TABLE="width: 500"]
<tbody>[TR]
[TD]W26040HB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the above Table is the resultant table I want, which is essentially 3 tables merged into 1 after I have used Power Query.
W26040HB-N3 is one table that has a List of Items BP1, TP2 and ST3. W26036NB-N3 only has BP1 and TP2
My table list is as follows with Table W26040HB-N3 repeated twice and W26036NB-N3 once.
I need to make sure the List stays exactly in order as it is in the Source table, but I need it to find the "*" and replace it with how many times the list exists. So in the example above I need it to result as follows.
[TABLE="width: 500"]
<tbody>[TR]
[TD]W26040HB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am positive I can do this in Power Query prior to extracting the data into a new table. Currently, the table sees the duplicated items and places them together. see table below.
[TABLE="width: 500"]
<tbody>[TR]
[TD]W26040HB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]W26040HB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the above Table is the resultant table I want, which is essentially 3 tables merged into 1 after I have used Power Query.
W26040HB-N3 is one table that has a List of Items BP1, TP2 and ST3. W26036NB-N3 only has BP1 and TP2
My table list is as follows with Table W26040HB-N3 repeated twice and W26036NB-N3 once.
I need to make sure the List stays exactly in order as it is in the Source table, but I need it to find the "*" and replace it with how many times the list exists. So in the example above I need it to result as follows.
[TABLE="width: 500"]
<tbody>[TR]
[TD]W26040HB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(1)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(2)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(1)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am positive I can do this in Power Query prior to extracting the data into a new table. Currently, the table sees the duplicated items and places them together. see table below.
[TABLE="width: 500"]
<tbody>[TR]
[TD]W26040HB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26040HB-N3(*)-ST3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(*)-BP1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]W26036NB-N3(*)-TP2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]