Help needed :) - Total cost by tier

Welsh Mark3

Board Regular
Joined
Apr 7, 2014
Messages
164
Office Version
  1. 365
Formula.PNG

I'm looking to create a formula that would calculate costs based on 'Report Used'. For example, if reports used is 2000 * $7.50, If 6000 then 5000 * 7.5 plus 6000-5000*$5.00, If 11000 then 5000 * 7.5 plus 5 *$5.00 plus 11000- 10000 *$2.5

Can someone help?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Here are 2 ways. If you build your rates into a table, like I did in D1:G4, you can use the B7 formula. This makes the formula shorter, and you only have to change the table if your rates change in the future. If you want to build it all in the formula, you can use the C7 formula. In both cases you should be able to see the pattern so you can adapt it as needed.

Book1
ABCDEFG
1LowerUpperRateDelta Rate
205000 $ 7.50 7.5
3500010000 $ 5.00 -2.5
4100009999999 $ 2.50 -2.5
5
6Reports Used11000
7Total cost $ 65,000.00 $ 65,000.00
Sheet9
Cell Formulas
RangeFormula
G2:G4G2=F2-N(F1)
B7B7=SUMPRODUCT(B6-D2:D4,--(B6>D2:D4),G2:G4)
C7C7=MEDIAN(0,B6-0,5000-0)*7.5+MEDIAN(0,B6-5000,10000-5000)*5+MEDIAN(0,B6-10000,9999999-10000)*2.5
 
Upvote 0

Forum statistics

Threads
1,216,105
Messages
6,128,859
Members
449,472
Latest member
ebc9

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