jocker_boy
Board Regular
- Joined
- Feb 5, 2015
- Messages
- 83
Hi,
I have a table with text and numbers that i got from MSProject, for example:
[TABLE="width: 500"]
<tbody>[TABLE="width: 128"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD]A
[/TD]
[TD="align: right"]36
[/TD]
[/TR]
[TR]
[TD] A.1[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD] A.2[/TD]
[TD="align: right"]12
[/TD]
[/TR]
[TR]
[TD] A.3[/TD]
[TD="align: right"]14[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD="align: right"]61
[/TD]
[/TR]
[TR]
[TD] B.1
[/TD]
[TD="align: right"]38
[/TD]
[/TR]
[TR]
[TD] B.1.1[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD] B.1.2[/TD]
[TD="align: right"]11
[/TD]
[/TR]
[TR]
[TD] B.1.3[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD] B.2[/TD]
[TD="align: right"]11[/TD]
[/TR]
[TR]
[TD] B.3[/TD]
[TD="align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]
</tbody>[/TABLE]
My goal is to run a script that check the indent on column A:A, copy the values of column B:B to Column C:C, but insert subtotal formula for some lines depending on the indent, in this example are "A"; "B"; "B.1".
Is this possible?
Thanks,
Gonçalo
I have a table with text and numbers that i got from MSProject, for example:
[TABLE="width: 500"]
<tbody>[TABLE="width: 128"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD]A
[/TD]
[TD="align: right"]36
[/TD]
[/TR]
[TR]
[TD] A.1[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD] A.2[/TD]
[TD="align: right"]12
[/TD]
[/TR]
[TR]
[TD] A.3[/TD]
[TD="align: right"]14[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD="align: right"]61
[/TD]
[/TR]
[TR]
[TD] B.1
[/TD]
[TD="align: right"]38
[/TD]
[/TR]
[TR]
[TD] B.1.1[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD] B.1.2[/TD]
[TD="align: right"]11
[/TD]
[/TR]
[TR]
[TD] B.1.3[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD] B.2[/TD]
[TD="align: right"]11[/TD]
[/TR]
[TR]
[TD] B.3[/TD]
[TD="align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]
</tbody>[/TABLE]
My goal is to run a script that check the indent on column A:A, copy the values of column B:B to Column C:C, but insert subtotal formula for some lines depending on the indent, in this example are "A"; "B"; "B.1".
Is this possible?
Thanks,
Gonçalo