Hi All,
The desired output column, should be a cumulative figure of the area, the criteria being the summation should happen when the status is Completed & names are of the same tech.
Example:
SJR Tech = 100+200+300 = 600
If the status is Proposed or Under Construction, the output should be area as listed.
Example:
SJR tech 3 = 200 (since status is proposed)
Would really appreciate the help. Thanks
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Status[/TD]
[TD]Name[/TD]
[TD]Area[/TD]
[TD]Desired Output[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 1[/TD]
[TD]100[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 2[/TD]
[TD]200[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Under Construction[/TD]
[TD]SJR tech 3[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 4[/TD]
[TD]300[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Under Construction[/TD]
[TD]ABC Tech 1[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Under Construction[/TD]
[TD]ABC Tech 2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Completed[/TD]
[TD]ABC Tech 3[/TD]
[TD]400[/TD]
[TD]900[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Completed[/TD]
[TD]ABC Tech 4[/TD]
[TD]500[/TD]
[TD]900[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Completed[/TD]
[TD]DEG Tech 1[/TD]
[TD]600[/TD]
[TD]1300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Completed[/TD]
[TD]DEG Tech 2[/TD]
[TD]700[/TD]
[TD]1300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Under Construction[/TD]
[TD]DEG Tech 4[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Proposed[/TD]
[TD]FGT Tech 1[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Proposed[/TD]
[TD]FGT Tech 2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]Completed[/TD]
[TD]FGT Tech 3[/TD]
[TD]200[/TD]
[TD]400[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]Completed[/TD]
[TD]FGT Tech 4[/TD]
[TD]200[/TD]
[TD]400[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The desired output column, should be a cumulative figure of the area, the criteria being the summation should happen when the status is Completed & names are of the same tech.
Example:
SJR Tech = 100+200+300 = 600
If the status is Proposed or Under Construction, the output should be area as listed.
Example:
SJR tech 3 = 200 (since status is proposed)
Would really appreciate the help. Thanks
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Status[/TD]
[TD]Name[/TD]
[TD]Area[/TD]
[TD]Desired Output[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 1[/TD]
[TD]100[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 2[/TD]
[TD]200[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Under Construction[/TD]
[TD]SJR tech 3[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Completed[/TD]
[TD]SJR Tech 4[/TD]
[TD]300[/TD]
[TD]600[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Under Construction[/TD]
[TD]ABC Tech 1[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Under Construction[/TD]
[TD]ABC Tech 2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Completed[/TD]
[TD]ABC Tech 3[/TD]
[TD]400[/TD]
[TD]900[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Completed[/TD]
[TD]ABC Tech 4[/TD]
[TD]500[/TD]
[TD]900[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Completed[/TD]
[TD]DEG Tech 1[/TD]
[TD]600[/TD]
[TD]1300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Completed[/TD]
[TD]DEG Tech 2[/TD]
[TD]700[/TD]
[TD]1300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Under Construction[/TD]
[TD]DEG Tech 4[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Proposed[/TD]
[TD]FGT Tech 1[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Proposed[/TD]
[TD]FGT Tech 2[/TD]
[TD]300[/TD]
[TD]300[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]Completed[/TD]
[TD]FGT Tech 3[/TD]
[TD]200[/TD]
[TD]400[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]Completed[/TD]
[TD]FGT Tech 4[/TD]
[TD]200[/TD]
[TD]400[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]