#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Help with Formula

I am trying to find an easy way to to calculate my Electric bill, my
problem is that there are three tiers of pricing. Example the 1st 500
kwh are billed at 10 cents, 501 - 1000 kwh are billed at 8 cents, and
then anything over 1000 is billed at 6 cents.

I have my total usage in A2 but would like to break down the total cast
by the three tiers, in B2,C2 and D2. Any suggestions???

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Help with Formula

=IF(A2<501,B2,IF(A2<1001,C2,D2))


" wrote:

I am trying to find an easy way to to calculate my Electric bill, my
problem is that there are three tiers of pricing. Example the 1st 500
kwh are billed at 10 cents, 501 - 1000 kwh are billed at 8 cents, and
then anything over 1000 is billed at 6 cents.

I have my total usage in A2 but would like to break down the total cast
by the three tiers, in B2,C2 and D2. Any suggestions???

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Help with Formula

=MIN(A1,500)*0.1+MIN(MAX(0,A1-500),500)*0.08+MAX(0,A1-1000)*0.06

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


wrote in message
oups.com...
I am trying to find an easy way to to calculate my Electric bill, my
problem is that there are three tiers of pricing. Example the 1st 500
kwh are billed at 10 cents, 501 - 1000 kwh are billed at 8 cents, and
then anything over 1000 is billed at 6 cents.

I have my total usage in A2 but would like to break down the total cast
by the three tiers, in B2,C2 and D2. Any suggestions???

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Help with Formula


Bob Phillips wrote:
=MIN(A1,500)*0.1+MIN(MAX(0,A1-500),500)*0.08+MAX(0,A1-1000)*0.06

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


wrote in message
oups.com...
I am trying to find an easy way to to calculate my Electric bill, my
problem is that there are three tiers of pricing. Example the 1st 500
kwh are billed at 10 cents, 501 - 1000 kwh are billed at 8 cents, and
then anything over 1000 is billed at 6 cents.

I have my total usage in A2 but would like to break down the total cast
by the three tiers, in B2,C2 and D2. Any suggestions???

Thanks



Thank you both so much, They both worked just fine and Bob you gave me
the ability to change the numbers if the rates change.

Thanks again

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 11:19 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"