Hi all,
I need help to write codes for the following situation.
[TABLE="width: 246"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Fix rebar[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Up to 12mm diameter.[/TD]
[TD] 37,060.00[/TD]
[/TR]
[TR]
[TD]16mm diameter.[/TD]
[TD] 224,740.00[/TD]
[/TR]
[TR]
[TD]20mm diameter.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]25mm diameter.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]32mm diameter.[/TD]
[TD] 7,140.00[/TD]
[/TR]
[TR]
[TD]Concrete Grade[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to sum up all values between fix rebar and concrete grade. First I need to find where fix rebar is, and then look for concrete grade. Once I know their positions, I need to find the sum of all items in between them. I have several hundreds of them in my database, and need to find sum for all of them. Anyone can help? I really appreciate it. Thanks in advance.
shawn
I need help to write codes for the following situation.
[TABLE="width: 246"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Fix rebar[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Up to 12mm diameter.[/TD]
[TD] 37,060.00[/TD]
[/TR]
[TR]
[TD]16mm diameter.[/TD]
[TD] 224,740.00[/TD]
[/TR]
[TR]
[TD]20mm diameter.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]25mm diameter.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]32mm diameter.[/TD]
[TD] 7,140.00[/TD]
[/TR]
[TR]
[TD]Concrete Grade[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to sum up all values between fix rebar and concrete grade. First I need to find where fix rebar is, and then look for concrete grade. Once I know their positions, I need to find the sum of all items in between them. I have several hundreds of them in my database, and need to find sum for all of them. Anyone can help? I really appreciate it. Thanks in advance.
shawn