#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Formula Function

End up with the same totals -it is not adding the differnce of each calculation
example:
if a consumption is 22000
per = 99.75
additonal
should be a total of 105.00

formula produces 115.50

"Bernard Liengme" wrote:

Yet another
=40*(A1<8501)+(A1/1000)*((A18500)*4.75 +(A120099)*0.5+(A150000)*0.75)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"SM_NCSW" wrote in message
...
I am trying to calculate a progressive rate for water use charges:
<8500=$40,
8501 up to /1000
21000 up to /1000
50000 @6.00/1000


Col.A lists consumtion in gallons
is there a formula I can use for this?




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Formula Function

Try this:
=IF(A24<8501,40,ROUND((MIN(A24,21000)*4.75+MIN(290 00,MAX(0,A24-21000))*5.25+MAX(0,A24-50000)*6)/1000,2)

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"SM_NCSW" wrote in message
...
End up with the same totals -it is not adding the differnce of each
calculation
example:
if a consumption is 22000
per = 99.75
additonal
should be a total of 105.00

formula produces 115.50

"Bernard Liengme" wrote:

Yet another
=40*(A1<8501)+(A1/1000)*((A18500)*4.75 +(A120099)*0.5+(A150000)*0.75)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"SM_NCSW" wrote in message
...
I am trying to calculate a progressive rate for water use charges:
<8500=$40,
8501 up to /1000
21000 up to /1000
50000 @6.00/1000

Col.A lists consumtion in gallons
is there a formula I can use for this?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with OR function in IF function formula veggies27 Excel Worksheet Functions 3 March 18th 08 10:04 PM
PV function formula mexuswch Excel Discussion (Misc queries) 1 January 23rd 08 10:25 AM
A formula/function to return a formula/function sith janitor Excel Worksheet Functions 4 September 22nd 06 05:01 PM
Formula/function alm09 Excel Worksheet Functions 3 May 5th 05 11:12 PM
Add to my Function / formula Roelamp Excel Worksheet Functions 0 May 1st 05 10:54 PM


All times are GMT +1. The time now is 08:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"