Current Report
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Cust Code
[/TD]
[TD]Plant code
[/TD]
[TD]Vendor code
[/TD]
[TD]201822
[/TD]
[TD]201823
[/TD]
[TD]201824
[/TD]
[TD]201825
[/TD]
[TD]201826
[/TD]
[/TR]
[TR]
[TD]C1
[/TD]
[TD]P1
[/TD]
[TD]V1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C2
[/TD]
[TD]P2
[/TD]
[TD]V2
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
New Report - easily to do excel formular later
Cust code-Plant code-Vendor code becoming new header, empty cell are ignored
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD]C1
[/TD]
[TD]P1
[/TD]
[TD]V1
[/TD]
[/TR]
[TR]
[TD]201822
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201824
[/TD]
[TD]4
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201825
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C2
[/TD]
[TD]P2
[/TD]
[TD]V2
[/TD]
[/TR]
[TR]
[TD]201823
[/TD]
[TD]2
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201826
[/TD]
[TD]3
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thank to advised vba method
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Cust Code
[/TD]
[TD]Plant code
[/TD]
[TD]Vendor code
[/TD]
[TD]201822
[/TD]
[TD]201823
[/TD]
[TD]201824
[/TD]
[TD]201825
[/TD]
[TD]201826
[/TD]
[/TR]
[TR]
[TD]C1
[/TD]
[TD]P1
[/TD]
[TD]V1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C2
[/TD]
[TD]P2
[/TD]
[TD]V2
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
New Report - easily to do excel formular later
Cust code-Plant code-Vendor code becoming new header, empty cell are ignored
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD]C1
[/TD]
[TD]P1
[/TD]
[TD]V1
[/TD]
[/TR]
[TR]
[TD]201822
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201824
[/TD]
[TD]4
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201825
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C2
[/TD]
[TD]P2
[/TD]
[TD]V2
[/TD]
[/TR]
[TR]
[TD]201823
[/TD]
[TD]2
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]201826
[/TD]
[TD]3
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thank to advised vba method