Hi,
I am trying to total the sum of all items per day but only if another column is over a certain amount. My table looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date<strike></strike>
[/TD]
[TD]<strike></strike>Profit
[/TD]
[TD]Rating
[/TD]
[/TR]
[TR]
[TD]1/10
[/TD]
[TD]-7
[/TD]
[TD]1.9
[/TD]
[/TR]
[TR]
[TD]1/10
[/TD]
[TD]10
[/TD]
[TD]1.6
[/TD]
[/TR]
[TR]
[TD]2/10
[/TD]
[TD]10
[/TD]
[TD]1.7
[/TD]
[/TR]
[TR]
[TD]2/10
[/TD]
[TD]10
[/TD]
[TD]1.86
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]-7
[/TD]
[TD]1.9
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]10
[/TD]
[TD]1.5
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]10
[/TD]
[TD]1.2
[/TD]
[/TR]
</tbody>[/TABLE]
I want to add all the profit up for each day, if the rating is over 1.85.
Thanks
I am trying to total the sum of all items per day but only if another column is over a certain amount. My table looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date<strike></strike>
[/TD]
[TD]<strike></strike>Profit
[/TD]
[TD]Rating
[/TD]
[/TR]
[TR]
[TD]1/10
[/TD]
[TD]-7
[/TD]
[TD]1.9
[/TD]
[/TR]
[TR]
[TD]1/10
[/TD]
[TD]10
[/TD]
[TD]1.6
[/TD]
[/TR]
[TR]
[TD]2/10
[/TD]
[TD]10
[/TD]
[TD]1.7
[/TD]
[/TR]
[TR]
[TD]2/10
[/TD]
[TD]10
[/TD]
[TD]1.86
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]-7
[/TD]
[TD]1.9
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]10
[/TD]
[TD]1.5
[/TD]
[/TR]
[TR]
[TD]3/10
[/TD]
[TD]10
[/TD]
[TD]1.2
[/TD]
[/TR]
</tbody>[/TABLE]
I want to add all the profit up for each day, if the rating is over 1.85.
Thanks