Hello, Looking for a formula. If For instance in a given period, total Sales went from 9 to 11. I need Sale #10 to be at 0.5 and sale #11 to be at 0.4. Last month and this month Sales are in M2 and N2 respectively
If for instance, if sales went from 35-42. I need 5 sales at 0.2 and 2 sales at 0.1. But I also want it to return 0's on column E rows 1-3 (since sales 1-34 have already been paid out)
I've tinkered with IF(AND looking at the ranges but no luck.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Range[/TD]
[TD]Cost #[/TD]
[TD]Lower Limit[/TD]
[TD]Upper Limit[/TD]
[/TR]
[TR]
[TD]0-10[/TD]
[TD].5[/TD]
[TD]0[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]11-20[/TD]
[TD].4[/TD]
[TD]11[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]21-30[/TD]
[TD].3[/TD]
[TD]21[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]31-40[/TD]
[TD].2[/TD]
[TD]31[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]41-50[/TD]
[TD].1[/TD]
[TD]41[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance, very appreciated
If for instance, if sales went from 35-42. I need 5 sales at 0.2 and 2 sales at 0.1. But I also want it to return 0's on column E rows 1-3 (since sales 1-34 have already been paid out)
I've tinkered with IF(AND looking at the ranges but no luck.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Range[/TD]
[TD]Cost #[/TD]
[TD]Lower Limit[/TD]
[TD]Upper Limit[/TD]
[/TR]
[TR]
[TD]0-10[/TD]
[TD].5[/TD]
[TD]0[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]11-20[/TD]
[TD].4[/TD]
[TD]11[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]21-30[/TD]
[TD].3[/TD]
[TD]21[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]31-40[/TD]
[TD].2[/TD]
[TD]31[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]41-50[/TD]
[TD].1[/TD]
[TD]41[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance, very appreciated
Last edited: