This should be easy but for some reason I am just stumped. I am trying to get this done without adding too many additional cells
I have tried nesting an IF statement and adding clauses to the SUMPRODUCT but cannot quite get it. I am most likely OVERthinking this
The below is what I am trying to achieve. Based on the cumulative total the daily payout can span two tiers.
An image is linked below and the text from the worksheet is pasted.
[TABLE="width: 564"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Lower Bound[/TD]
[TD][/TD]
[TD="align: right"] 500[/TD]
[TD="align: right"] 1,000[/TD]
[TD="align: right"] 4,000[/TD]
[TD="align: right"] 10,000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Upper Bound[/TD]
[TD][/TD]
[TD="align: right"] 999[/TD]
[TD="align: right"] 3,999[/TD]
[TD="align: right"] 9,999[/TD]
[TD="align: right"] 999,999[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Rate[/TD]
[TD][/TD]
[TD="align: right"]0.01[/TD]
[TD="align: right"]0.02[/TD]
[TD="align: right"]0.03[/TD]
[TD="align: right"]0.08[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]Day Total[/TD]
[TD]Cumulative Total[/TD]
[TD][/TD]
[TD]Tier 1[/TD]
[TD]Tier 2[/TD]
[TD]Tier 3[/TD]
[TD]Tier 4[/TD]
[TD]Sum[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]275[/TD]
[TD="align: right"]434[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]934[/TD]
[TD]500-934[/TD]
[TD="align: right"]4.34[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4.34[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]1077[/TD]
[TD="align: right"]2011[/TD]
[TD]934-999, 1000-2011[/TD]
[TD="align: right"]0.65[/TD]
[TD="align: right"]20.24[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20.89[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]808[/TD]
[TD="align: right"]2819[/TD]
[TD]2012-2819[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]16.16[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]16.16[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]261[/TD]
[TD="align: right"]3080[/TD]
[TD]2820-3080[/TD]
[TD][/TD]
[TD="align: right"]5.22[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]5.22[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3080[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3080[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD="align: right"]932[/TD]
[TD="align: right"]4012[/TD]
[TD="colspan: 2"]3081-3999, 4000-4012[/TD]
[TD="align: right"]18.36[/TD]
[TD="align: right"]0.36[/TD]
[TD][/TD]
[TD="align: right"]18.72[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]218[/TD]
[TD="align: right"]4230[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]29[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]30[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]31[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4.99[/TD]
[TD="align: right"]59.98[/TD]
[TD="align: right"]0.36[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]65.33[/TD]
[/TR]
</tbody>[/TABLE]
I have tried nesting an IF statement and adding clauses to the SUMPRODUCT but cannot quite get it. I am most likely OVERthinking this
The below is what I am trying to achieve. Based on the cumulative total the daily payout can span two tiers.
An image is linked below and the text from the worksheet is pasted.
[TABLE="width: 564"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Lower Bound[/TD]
[TD][/TD]
[TD="align: right"] 500[/TD]
[TD="align: right"] 1,000[/TD]
[TD="align: right"] 4,000[/TD]
[TD="align: right"] 10,000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Upper Bound[/TD]
[TD][/TD]
[TD="align: right"] 999[/TD]
[TD="align: right"] 3,999[/TD]
[TD="align: right"] 9,999[/TD]
[TD="align: right"] 999,999[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Rate[/TD]
[TD][/TD]
[TD="align: right"]0.01[/TD]
[TD="align: right"]0.02[/TD]
[TD="align: right"]0.03[/TD]
[TD="align: right"]0.08[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]Day Total[/TD]
[TD]Cumulative Total[/TD]
[TD][/TD]
[TD]Tier 1[/TD]
[TD]Tier 2[/TD]
[TD]Tier 3[/TD]
[TD]Tier 4[/TD]
[TD]Sum[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]159[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]275[/TD]
[TD="align: right"]434[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]934[/TD]
[TD]500-934[/TD]
[TD="align: right"]4.34[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4.34[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]1077[/TD]
[TD="align: right"]2011[/TD]
[TD]934-999, 1000-2011[/TD]
[TD="align: right"]0.65[/TD]
[TD="align: right"]20.24[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]20.89[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]808[/TD]
[TD="align: right"]2819[/TD]
[TD]2012-2819[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]16.16[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]16.16[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]261[/TD]
[TD="align: right"]3080[/TD]
[TD]2820-3080[/TD]
[TD][/TD]
[TD="align: right"]5.22[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]5.22[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3080[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3080[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD="align: right"]932[/TD]
[TD="align: right"]4012[/TD]
[TD="colspan: 2"]3081-3999, 4000-4012[/TD]
[TD="align: right"]18.36[/TD]
[TD="align: right"]0.36[/TD]
[TD][/TD]
[TD="align: right"]18.72[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]218[/TD]
[TD="align: right"]4230[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]29[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]30[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]31[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5739[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4.99[/TD]
[TD="align: right"]59.98[/TD]
[TD="align: right"]0.36[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]65.33[/TD]
[/TR]
</tbody>[/TABLE]