Sorry,
After re-reading my initial question I may have been a little too vague on my request. Let me try re-phrasing again!
I have two tabs, a summary tab and a data tab. The
Summary Tab is constructed like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Column A[/TD]
[TD="align: center"]Column B[/TD]
[TD="align: center"]Column C[/TD]
[TD="align: center"]Column D[/TD]
[TD="align: center"]Column E[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD]Row #1[/TD]
[/TR]
[TR]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Row #2[/TD]
[/TR]
[TR]
[TD]Header 1[/TD]
[TD]Header 2[/TD]
[TD]Header 3[/TD]
[TD]Header 4[/TD]
[TD]Header 5[/TD]
[TD]Row #3[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Row #4[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Row #5[/TD]
[/TR]
[TR]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]Row #6[/TD]
[/TR]
</tbody>[/TABLE]
The
Data Tab is Constructed like this (
note - it only goes up until row 300)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]
Title A[/TD]
[TD="align: center"]
People[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Amount[/TD]
[TD]Row #1[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Person 1[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]$500.00[/TD]
[TD]Row #2[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Person 2[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]$0.00[/TD]
[TD]Row #3[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Person 3[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]$400.00[/TD]
[TD]Row #4[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Person 4[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]$0.00[/TD]
[TD]Row #5[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Person 300[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]$300.00[/TD]
[TD]Row #300[/TD]
[/TR]
</tbody>[/TABLE]
My goal is to:
- Count the number of persons (column B - Data Tab) that have Amounts (Column E - Data Tab) > $0.00. So, for this example, there are 3 persons who have amounts > $0.00.
- On the Summary Tab, insert blank rows, below row #4 , equal to the number of persons that have amounts > $0.00 on the Data Tab.
The end result of the Summary Tab would be this:
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Column A[/TD]
[TD="align: center"]Column B[/TD]
[TD="align: center"]Column C[/TD]
[TD="align: center"]Column D[/TD]
[TD="align: center"]Column E[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD="align: center"]
Title[/TD]
[TD]Row #1[/TD]
[/TR]
[TR]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Blank (N/A)[/TD]
[TD]Row #2[/TD]
[/TR]
[TR]
[TD]Header 1[/TD]
[TD]Header 2[/TD]
[TD]Header 3[/TD]
[TD]Header 4[/TD]
[TD]Header 5[/TD]
[TD]Row #3[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Row #4[/TD]
[/TR]
[TR]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Data[/TD]
[TD]Row #5[/TD]
[/TR]
[TR]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
Row #6[/TD]
[/TR]
[TR]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
Row #7[/TD]
[/TR]
[TR]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
(Newly inserted blank row)[/TD]
[TD]
Row #8[/TD]
[/TR]
[TR]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]
Subtotal[/TD]
[TD]Row #9 [/TD]
[/TR]
</tbody>[/TABLE]
Please let me know if this helps clarify my original question.
Thank you!