In one sheet, I have an raw data like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Invoice Number[/TD]
[TD]Date[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]1st[/TD]
[TD][TABLE="width: 101"]
<tbody>[TR]
[TD="width: 101, align: right"][/TD]
[TD="width: 101, align: right"][/TD]
[TD="width: 101, align: right"]6086876869[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, width: 81, align: right"]13-Sep-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 100"]
<tbody>[TR]
[TD="width: 100"]USD 755.17 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2nd[/TD]
[TD][TABLE="width: 101"]
<tbody>[TR]
[TD="width: 101, align: right"]6086453273[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, width: 81, align: right"]13-Sep-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 100"]
<tbody>[TR]
[TD="width: 100"]USD 945.88 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
And on another sheet, I need to use the raw data above to make something like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]H[/TD]
[TD]USD[/TD]
[TD]2000[/TD]
[TD]copy 1st invoice number here[/TD]
[TD]IN[/TD]
[TD]copy 1st invoice datehere[/TD]
[TD]copy 1st invoice amount here
[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]1022510000[/TD]
[TD]copy 1st invoice amount here[/TD]
[TD][/TD]
[TD]N[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]USD[/TD]
[TD]2000[/TD]
[TD]copy 2nd invoice number here[/TD]
[TD]IN[/TD]
[TD]copy 2nd invoice date here[/TD]
[TD]copy 2nd invoice amount here
[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]1022510000[/TD]
[TD]copy 2nd invoice amount here[/TD]
[TD][/TD]
[TD]N[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
so from one record in raw data sheet and generate 2-row record in another sheet for about 100-150 records like that.
Please help! Thank you very much for your time and wisdom.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Invoice Number[/TD]
[TD]Date[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]1st[/TD]
[TD][TABLE="width: 101"]
<tbody>[TR]
[TD="width: 101, align: right"][/TD]
[TD="width: 101, align: right"][/TD]
[TD="width: 101, align: right"]6086876869[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, width: 81, align: right"]13-Sep-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 100"]
<tbody>[TR]
[TD="width: 100"]USD 755.17 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2nd[/TD]
[TD][TABLE="width: 101"]
<tbody>[TR]
[TD="width: 101, align: right"]6086453273[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, width: 81, align: right"]13-Sep-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 100"]
<tbody>[TR]
[TD="width: 100"]USD 945.88 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
And on another sheet, I need to use the raw data above to make something like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]H[/TD]
[TD]USD[/TD]
[TD]2000[/TD]
[TD]copy 1st invoice number here[/TD]
[TD]IN[/TD]
[TD]copy 1st invoice datehere[/TD]
[TD]copy 1st invoice amount here
[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]1022510000[/TD]
[TD]copy 1st invoice amount here[/TD]
[TD][/TD]
[TD]N[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]USD[/TD]
[TD]2000[/TD]
[TD]copy 2nd invoice number here[/TD]
[TD]IN[/TD]
[TD]copy 2nd invoice date here[/TD]
[TD]copy 2nd invoice amount here
[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]1022510000[/TD]
[TD]copy 2nd invoice amount here[/TD]
[TD][/TD]
[TD]N[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
so from one record in raw data sheet and generate 2-row record in another sheet for about 100-150 records like that.
Please help! Thank you very much for your time and wisdom.