mzza
Board Regular
- Joined
- Nov 8, 2006
- Messages
- 55
Hi,
I am trying to find a formula to handle the following situation.
I am developing pricing for a customer who wants to see incremental benefit to buying more units. Circumstances dictate that this economy of scale must be implemented in a 'stepped' manner, i.e.:
For total number of units up to 1,000, cost is $0.45 per unit.
For total number of units from 1,001 to 5,000, cost is $0.45 per unit for the first 1,000 units and $0.43 per unit thereafter.
For total number of units from 5,001 to 10,000, cost is $0.45 per unit for the first 1,000 units; $0.43 per unit for the next 5,000 units; then $0.40 per unit for each unit thereafter.
... and so on.
Is there a formula I can use to calculate the total cost for a given number of units? I have been playing with nested Ifs to break the total number down into discrete chunks, but it's getting unwieldy and I would like for there to be no theoretical upper limit to the number of units.
TIA
mzza
I am trying to find a formula to handle the following situation.
I am developing pricing for a customer who wants to see incremental benefit to buying more units. Circumstances dictate that this economy of scale must be implemented in a 'stepped' manner, i.e.:
For total number of units up to 1,000, cost is $0.45 per unit.
For total number of units from 1,001 to 5,000, cost is $0.45 per unit for the first 1,000 units and $0.43 per unit thereafter.
For total number of units from 5,001 to 10,000, cost is $0.45 per unit for the first 1,000 units; $0.43 per unit for the next 5,000 units; then $0.40 per unit for each unit thereafter.
... and so on.
Is there a formula I can use to calculate the total cost for a given number of units? I have been playing with nested Ifs to break the total number down into discrete chunks, but it's getting unwieldy and I would like for there to be no theoretical upper limit to the number of units.
TIA
mzza