Formula for calculating bills using multi-tier rates

w2w

New Member
Joined
Mar 8, 2012
Messages
1
I need some help on a formula for calculating customers bills for water usage. The rate structure is graduated and is beyond my abilities. Basically I have a spreadsheet where customers account information including their usage (in gallons) for a given month in Column F. The rate structure is as follows:
$11.50 min Includes 2000 gallons
$2.52 per thousand for the next 3000 gallons
$2.12 per thousand for the next 5000 gallons
$1.37 per thousand for anything over 10000 gallons.

I would like to have all of the rates in a legend at the top so that I can experiment with different rates by simply entering them into that cell and be able to see the effects it would have on that months billing.

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Here's a couple variants if you're looking for a single big formula:

Nested ifs
=IF(E1<=2000,11.5,IF(E1<=5000,11.5+(E1-2000)*2.52/1000,IF(E1<=10000,11.5+7.56+(E1-5000)*2.12/1000,11.5+7.56+10.6+(E1-10000)*1.37/1000)))

No ifs
=(E1<=2000)*11.5+(E1<=5000)*(E1>2000)*(11.5+(E1-2000)*2.52/1000)+(E1<=10000)*(E1>5000)*(11.5+7.56+(E1-5000)*2.12/1000)+(E1>10000)*(11.5+7.56+10.6+(E1-10000)*1.37/1000)
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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