Formula for tiered pricing (adding a quantity for tier) that includes a free tier

dw970906

New Member
Joined
Mar 5, 2021
Messages
13
I am trying to calculate the # of tiers required based on an inputted #. I am using a formula with MOD, but having issues getting the proper # of each tier due to the fact that I am including a "free" amount. I also need to chose the most appropriate tiers for cost effectiveness.

Tiers:
tier 1 = 500 units ($0) This tier is ALWAYS included
tier 2 = 500 units ($100 per unit)
tier 3 = 1000 units ($80 per unit)
tier 4 = 5000 units ($50 per unit)
tier 5 = 10000 units ($20 per unit)

Example 1: 1000 units
- tier 1 will have quantity of 1 (500 units @ $0/unit)
- tier 2 will have a quantity of 1 (500 units @$100/unit = $50,000)
Total cost - $50,000

Example 2: 5000 units
- tier 1 will have a quantity of 1 (500 units @ $0/unit)
- tier 2 will have quantity of 0
- tier 3 will have a quantity of 0
- tier 4 will have a quantity of 1 (5000 units @ $50/unit)
Total cost is $250,000)

In this example, it is cheaper to purchase 1 block of 5000 units (tier 4), vs purchasing 4, tier 3 blocks and 1 tier 2 block.

Any suggestions?
 
Another example hopefully this clarifies. If I have 6000 units as my input, then I should have the following quantity of tiers:
tier 1 = 1 (500)
tier 2 = 2 (500)
tier 3 = 0
tier 4 = 1 (5000)
tier 5 = 0

The above is what I need to figure out for any arbitrary # I input. The I can easily figure out the cost as I have a static cost per tier. Tier 1 is always going to have a 1 as it is included for free. Hope this helps.
Typo. tier 2 will have a quantity of 1. Apologies
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
ok, so somewhat different to what I thought you wanted, sorry - perhaps a few more examples
8,980
7,551
sort of odd numbers which are not straight multiples of your tiers
 
Upvote 0
Hope these help, thanks. Other examples:

Input # of 8980. The quantity of tiers will look like this:
tier 1 = 1 (500) always included
tier 2 = 1 (500)
tier 3 = 3 (3000)
tier 4 = 1 (5000)
tier 5 = 0 (10000)

Input # of 7551. The quantity of tiers will look like this:
tier 1 = 1 (500) always included
tier 2 = 1 (500)
tier 3 = 2 (2000)
tier 4 = 1 (5000)
tier 5 = 0 (10000)
 
Upvote 0
thanks, i'll have to have a think, not sure how to achieve that

your showing ALL lower tiers used, but not in all examples - how are the tiers decided on, not sure i'm understanding still - really sorry
5501
 
Upvote 0
thanks, i'll have to have a think, not sure how to achieve that

your showing ALL lower tiers used, but not in all examples - how are the tiers decided on, not sure i'm understanding still - really sorry
5501
for 5501, tier 1 = 1, tier 2 = 1 and tier 4 = 1. Not all tiers would be utilized. Best fit for tiers.
For best fit quantity of tiers I have this as one of the formulas: =IF((OR(L4>0,AND(L4>0,MOD(L4,A3)=0))),(L4-MOD(L4,A3))/A3,0)
For remainder of quantity that helps populate the tiers I have this as one of the formulas: =IF(L4>=A3,MOD(L4,A3),L4)
 
Upvote 0
Please show the brackets and rates that you are using.
If the numbers do not agree, show how you manually calculated the amount.
Commission2022.xlsm
CDEF
1
2Units SoldSales PriceDave
37,001620,912.91
412,30542,889.54
52,50011.414,250.00
61,00163,003.00
7530.90
89,5001046,875.00
97,0000.6250.92
107,000620,910.00
111,000,000104,751,750.00
121,000,0000.042,280.84
13
14
15BracketsPayout
16
17050.0%6.00%
185,00049.5%5.94%
196,00049.0%5.88%
207,00048.5%5.82%
218,00048.0%5.76%
229,00047.5%5.70%
23
2a
Cell Formulas
RangeFormula
F3:F12F3=SUM(IF(C3>aB,(C3-aB)*IF(D3>=5,aR,a2R))*D3)
F18F18=$F$17*0.99
F19F19=$F$17*0.98
F20F20=$F$17*0.97
F21F21=$F$17*0.96
F22F22=$F$17*0.95
 
Upvote 0
Please delete or ignore the previous post.
It went to the incorrect thread.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top