Hello,
I couldn't find a matching solution to my problem, so here I am asking fro help.
I have a sheet with complex formatted data with some zero values in an evaluation column.
I want to delete lines from that information when a evaluation column has zero value.
Since it is rather complex, using filters won't work.
I want to select an initial cell from evaluation column and run my code until it reaches a cell with 'STOP'.
Can somebody help?
This is a simplified example.
I have this:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64"]Op1[/TD]
[TD="class: xl63, width: 64"] Op2[/TD]
[/TR]
[TR]
[TD]WAVE 1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]WAVE 5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]WAVE 6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 8[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="class: xl63"] STOP[/TD]
[/TR]
</tbody>[/TABLE]
I choose manually cell just under Op2, run my code and end with this:
[TABLE="width: 238"]
<tbody>[TR]
[TD][/TD]
[TD]Op1[/TD]
[TD] Op2[/TD]
[/TR]
[TR]
[TD]WAVE 3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]WAVE 5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]WAVE 6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 8[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD] STOP[/TD]
[/TR]
</tbody>[/TABLE]
Zero Values in Column Op2 are gone.
Thank you for your help.
Rui
I couldn't find a matching solution to my problem, so here I am asking fro help.
I have a sheet with complex formatted data with some zero values in an evaluation column.
I want to delete lines from that information when a evaluation column has zero value.
Since it is rather complex, using filters won't work.
I want to select an initial cell from evaluation column and run my code until it reaches a cell with 'STOP'.
Can somebody help?
This is a simplified example.
I have this:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64"]Op1[/TD]
[TD="class: xl63, width: 64"] Op2[/TD]
[/TR]
[TR]
[TD]WAVE 1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]WAVE 5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]WAVE 6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WAVE 8[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="class: xl63"] STOP[/TD]
[/TR]
</tbody>[/TABLE]
I choose manually cell just under Op2, run my code and end with this:
[TABLE="width: 238"]
<tbody>[TR]
[TD][/TD]
[TD]Op1[/TD]
[TD] Op2[/TD]
[/TR]
[TR]
[TD]WAVE 3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]WAVE 5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]WAVE 6[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]WAVE 8[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD] STOP[/TD]
[/TR]
</tbody>[/TABLE]
Zero Values in Column Op2 are gone.
Thank you for your help.
Rui