Hi all,
Hoping you can please help, I have reviewed many of the proposed solutions to a progressive calculation I am trying to solve but am not winning (or looking hard enough). The solutions I have found as far deal mainly with percentages which is not working completely.
I have a progressive billing as such: if I have 50 units, the cost is split as follows: first 16 x $50, then the next 16 would fall into the $75 bracket, next 16 in $100, remaining 2 in $125. Is there a dynamic function to cater for this. Table breakdown as follows
[TABLE="width: 712"]
<tbody>[TR]
[TD]Unit
[/TD]
[TD]Unit Price(USD)
[/TD]
[TD]Step
[/TD]
[/TR]
[TR]
[TD]1≤ Unit≤16
[/TD]
[TD]50
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]17≤ Unit≤32
[/TD]
[TD]75
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]33≤ Unit≤48
[/TD]
[TD]100
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]49≤ Unit≤64
[/TD]
[TD]125
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]65≤ Unit≤74
[/TD]
[TD]150
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]RRC Unit≥75
[/TD]
[TD]3
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]
Many thanks[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
Hoping you can please help, I have reviewed many of the proposed solutions to a progressive calculation I am trying to solve but am not winning (or looking hard enough). The solutions I have found as far deal mainly with percentages which is not working completely.
I have a progressive billing as such: if I have 50 units, the cost is split as follows: first 16 x $50, then the next 16 would fall into the $75 bracket, next 16 in $100, remaining 2 in $125. Is there a dynamic function to cater for this. Table breakdown as follows
[TABLE="width: 712"]
<tbody>[TR]
[TD]Unit
[/TD]
[TD]Unit Price(USD)
[/TD]
[TD]Step
[/TD]
[/TR]
[TR]
[TD]1≤ Unit≤16
[/TD]
[TD]50
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]17≤ Unit≤32
[/TD]
[TD]75
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]33≤ Unit≤48
[/TD]
[TD]100
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]49≤ Unit≤64
[/TD]
[TD]125
[/TD]
[TD]16
[/TD]
[/TR]
[TR]
[TD]65≤ Unit≤74
[/TD]
[TD]150
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]RRC Unit≥75
[/TD]
[TD]3
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]
Many thanks[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]