CreativeRova
New Member
- Joined
- Dec 12, 2013
- Messages
- 49
Hi,
I have a spreadsheet. See below I need to count only rows that have the correct text in the same row and 1 row off.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Backs[/TD]
[TD]Paid[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Client 3[/TD]
[TD]Backs[/TD]
[TD]Paid[/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]
I have asked before but am yet to get an answer. So in cell D1 I need to sum "paid" only from D6 downward if D6 = "backs" etc. Then the same for "bonus" if D = "Backs" then add up the "bonus" for that client with all the occurrences of this.
I have a spreadsheet. See below I need to count only rows that have the correct text in the same row and 1 row off.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Backs[/TD]
[TD]Paid[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Client 3[/TD]
[TD]Backs[/TD]
[TD]Paid[/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Bonus[/TD]
[TD]30[/TD]
[/TR]
</tbody>[/TABLE]
I have asked before but am yet to get an answer. So in cell D1 I need to sum "paid" only from D6 downward if D6 = "backs" etc. Then the same for "bonus" if D = "Backs" then add up the "bonus" for that client with all the occurrences of this.