Progressive calculation - Not % based

wit1111

New Member
Joined
Feb 16, 2018
Messages
9
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]
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Welcome to Mr Excel forum

Try something like this

[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #DCE6F1"][/TD]
[TD="bgcolor: #DCE6F1"]
A
[/TD]
[TD="bgcolor: #DCE6F1"]
B
[/TD]
[TD="bgcolor: #DCE6F1"]
C
[/TD]
[TD="bgcolor: #DCE6F1"]
D
[/TD]
[TD="bgcolor: #DCE6F1"]
E
[/TD]
[TD="bgcolor: #DCE6F1"]
F
[/TD]
[TD="bgcolor: #DCE6F1"]
G
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
1
[/TD]
[TD]
Lower​
[/TD]
[TD]
Higher​
[/TD]
[TD]
Price​
[/TD]
[TD]
Marginal​
[/TD]
[TD][/TD]
[TD]
Units​
[/TD]
[TD]
Cost​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
2
[/TD]
[TD]
1​
[/TD]
[TD]
16​
[/TD]
[TD]
50​
[/TD]
[TD]
50​
[/TD]
[TD][/TD]
[TD]
50​
[/TD]
[TD]
3850​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
3
[/TD]
[TD]
17​
[/TD]
[TD]
32​
[/TD]
[TD]
75​
[/TD]
[TD]
25​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
4
[/TD]
[TD]
33​
[/TD]
[TD]
48​
[/TD]
[TD]
100​
[/TD]
[TD]
25​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
5
[/TD]
[TD]
49​
[/TD]
[TD]
64​
[/TD]
[TD]
125​
[/TD]
[TD]
25​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
6
[/TD]
[TD]
65​
[/TD]
[TD]
74​
[/TD]
[TD]
150​
[/TD]
[TD]
25​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
7
[/TD]
[TD]
75​
[/TD]
[TD][/TD]
[TD]
3​
[/TD]
[TD]
-147​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Given: columns A:C; F2

Formula in D2 copied down
=C2-N(C1)

Formula in G2
=SUMPRODUCT(--(F2>=A2:A7),F2+1-A2:A7,D2:D7)

Hope this helps

M.
ps: for a explanation how the formula works, take a look at
http://www.mcgimpsey.com/excel/variablerate.html
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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