+ Reply to Thread
Results 1 to 8 of 8

Calculating a bill using a graduated rate...

  1. #1
    Dave Smith
    Guest

    Calculating a bill using a graduated rate...

    I'm trying to calculate an electricity bill which uses different values based
    on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    anything above 600 kwh, the charge is .08/kwh. So if my usage is 700 kwh, my
    bill is $36+$8. Any ideas on which formula I should use for this?

  2. #2
    Vasant Nanavati
    Guest

    Re: Calculating a bill using a graduated rate...

    =IF(A1<=600,A1*0.06,36+(A1-600)*0.08)

    --

    Vasant



    "Dave Smith" <Dave Smith@discussions.microsoft.com> wrote in message
    news:321B2696-2884-488C-81B5-21542439AA93@microsoft.com...
    > I'm trying to calculate an electricity bill which uses different values

    based
    > on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    > anything above 600 kwh, the charge is .08/kwh. So if my usage is 700 kwh,

    my
    > bill is $36+$8. Any ideas on which formula I should use for this?




  3. #3
    Dave Smith
    Guest

    Re: Calculating a bill using a graduated rate...

    Thanks Vasant.

    Now what if the rate calculation gets more complicated? Is there some way
    to use a lookup table? For example:

    0-600 costs .06 per kwH
    601-800 costs .08 per kwH over 600
    801-1000 costs .10 per kwH over 800
    1001-1200 costs .15 per kwH over 1000
    >1200 costs .30 per kwH over 1200



    "Vasant Nanavati" wrote:

    > =IF(A1<=600,A1*0.06,36+(A1-600)*0.08)
    >
    > --
    >
    > Vasant
    >
    >
    >
    > "Dave Smith" <Dave Smith@discussions.microsoft.com> wrote in message
    > news:321B2696-2884-488C-81B5-21542439AA93@microsoft.com...
    > > I'm trying to calculate an electricity bill which uses different values

    > based
    > > on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    > > anything above 600 kwh, the charge is .08/kwh. So if my usage is 700 kwh,

    > my
    > > bill is $36+$8. Any ideas on which formula I should use for this?

    >
    >
    >


  4. #4
    Bernard Liengme
    Guest

    Re: Calculating a bill using a graduated rate...

    Another possibility is =A1*0.06+(A1>600)*(A1-600)*0.02
    best wishes--
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Dave Smith" <Dave Smith@discussions.microsoft.com> wrote in message
    news:321B2696-2884-488C-81B5-21542439AA93@microsoft.com...
    > I'm trying to calculate an electricity bill which uses different values
    > based
    > on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    > anything above 600 kwh, the charge is .08/kwh. So if my usage is 700 kwh,
    > my
    > bill is $36+$8. Any ideas on which formula I should use for this?




  5. #5
    Gord Dibben
    Guest

    Re: Calculating a bill using a graduated rate...

    Dave

    Have a look at JE McGimpsey's variable rate formula(s).

    http://www.mcgimpsey.com/excel/variablerate.html


    Gord Dibben Excel MVP

    On Sun, 22 May 2005 10:51:04 -0700, "Dave Smith"
    <DaveSmith@discussions.microsoft.com> wrote:

    >Thanks Vasant.
    >
    >Now what if the rate calculation gets more complicated? Is there some way
    >to use a lookup table? For example:
    >
    >0-600 costs .06 per kwH
    >601-800 costs .08 per kwH over 600
    >801-1000 costs .10 per kwH over 800
    >1001-1200 costs .15 per kwH over 1000
    >>1200 costs .30 per kwH over 1200

    >
    >
    >"Vasant Nanavati" wrote:
    >
    >> =IF(A1<=600,A1*0.06,36+(A1-600)*0.08)
    >>
    >> --
    >>
    >> Vasant
    >>
    >>
    >>
    >> "Dave Smith" <Dave Smith@discussions.microsoft.com> wrote in message
    >> news:321B2696-2884-488C-81B5-21542439AA93@microsoft.com...
    >> > I'm trying to calculate an electricity bill which uses different values

    >> based
    >> > on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    >> > anything above 600 kwh, the charge is .08/kwh. So if my usage is 700 kwh,

    >> my
    >> > bill is $36+$8. Any ideas on which formula I should use for this?

    >>
    >>
    >>



  6. #6
    Bernard Liengme
    Guest

    Re: Calculating a bill using a graduated rate...

    How about
    =A1*0.06+(A1>600)*(A1-600)*0.02+(A1>800)*(A1-800)*0.04+(A1>1000)*(A1-10000)*0.05+(A1>1200)*(A1-1200)*0.15
    OR
    =MIN(A1,600)*0.06+MAX(0,MIN(200,A1-600))*0.08+MAX(0,MIN(200,A1-800))*0.1+MAX(0,MIN(200,A1-1000))*0.15+MAX(0,A1-1200)*0.3

    To quote my Irish math teacher from long ago:there are more ways of killing
    a pig than stuffing it with butter!
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Dave Smith" <DaveSmith@discussions.microsoft.com> wrote in message
    news:DC148B3E-AD94-420A-A64D-910D650A57AE@microsoft.com...
    > Thanks Vasant.
    >
    > Now what if the rate calculation gets more complicated? Is there some way
    > to use a lookup table? For example:
    >
    > 0-600 costs .06 per kwH
    > 601-800 costs .08 per kwH over 600
    > 801-1000 costs .10 per kwH over 800
    > 1001-1200 costs .15 per kwH over 1000
    >>1200 costs .30 per kwH over 1200

    >
    >
    > "Vasant Nanavati" wrote:
    >
    >> =IF(A1<=600,A1*0.06,36+(A1-600)*0.08)
    >>
    >> --
    >>
    >> Vasant
    >>
    >>
    >>
    >> "Dave Smith" <Dave Smith@discussions.microsoft.com> wrote in message
    >> news:321B2696-2884-488C-81B5-21542439AA93@microsoft.com...
    >> > I'm trying to calculate an electricity bill which uses different values

    >> based
    >> > on the amount used. For the first 600 kwh, the charge is .06/kwh. For
    >> > anything above 600 kwh, the charge is .08/kwh. So if my usage is 700
    >> > kwh,

    >> my
    >> > bill is $36+$8. Any ideas on which formula I should use for this?

    >>
    >>
    >>




  7. #7
    Domenic
    Guest

    Re: Calculating a bill using a graduated rate...

    As suggested by Gord Dibben, using JE McGimpsey's variable rate
    formula...

    =SUMPRODUCT(--(A1>{0,600,800,1000,1200}),A1-{0,600,800,1000,1200},{0.06,0
    ..02,0.02,0.05,0.15})

    Hope this helps!

    In article <DC148B3E-AD94-420A-A64D-910D650A57AE@microsoft.com>,
    "Dave Smith" <DaveSmith@discussions.microsoft.com> wrote:

    > Thanks Vasant.
    >
    > Now what if the rate calculation gets more complicated? Is there some way
    > to use a lookup table? For example:
    >
    > 0-600 costs .06 per kwH
    > 601-800 costs .08 per kwH over 600
    > 801-1000 costs .10 per kwH over 800
    > 1001-1200 costs .15 per kwH over 1000
    > >1200 costs .30 per kwH over 1200


  8. #8
    Ron Rosenfeld
    Guest

    Re: Calculating a bill using a graduated rate...

    On Sun, 22 May 2005 10:51:04 -0700, "Dave Smith"
    <DaveSmith@discussions.microsoft.com> wrote:

    >Now what if the rate calculation gets more complicated? Is there some way
    >to use a lookup table? For example:
    >
    >0-600 costs .06 per kwH
    >601-800 costs .08 per kwH over 600
    >801-1000 costs .10 per kwH over 800
    >1001-1200 costs .15 per kwH over 1000
    >>1200 costs .30 per kwH over 1200


    Set up a rate table somewhere on your worksheet.


    kWh Base Rate
    0 $ 0.00 $0.06
    600 $36.00 $0.08
    800 $52.00 $0.10
    1000 $72.00 $0.15
    1200 $102.00 $0.30


    The kWh and Rate columns are what you have given.

    The Base rate is computed using a formula of the type:

    If the table is in J1:L5 then:

    K3: =(J3-J2)*L2+K2

    and copy/drag down.

    Then, with the usage in A2, use the following formula to compute the bill:

    =VLOOKUP(A2,RateTable,2)+
    (A2-VLOOKUP(A2,RateTable,1))*
    VLOOKUP(A2,RateTable,3)




    --ron

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1