+ Reply to Thread
Results 1 to 5 of 5

Help In Calculating My Electricity Bill With Excel

  1. #1
    Registered User
    Join Date
    06-05-2017
    Location
    Karachi, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Help In Calculating My Electricity Bill With Excel

    Hi all, hope you all are doing great! I'm having trouble calculating my electricity bill as there is a complex calculation involved when it comes to calculating no of units consumed as there are different slabs at which electricity charges is calculated.
    I am trying presenting here what should I calculate to find a payable amount of any given month based on unit consumed on any given month.

    Here it is:
    Bill Cal Excel Help.png

    Now the real problem is that the bill is calculated as per the criteria under which a user will get benefit of only one previous slab, Have a look at this criteria below:
    K electric Tarrif.png



    i.e if I consume say 150 Units the I will be charged first 100 units at Slab 2 i.e (1-100 Units @ Rs 5.79) and other 50 Units at Slab 3 rates i.e (100-200 Units @ Rs 8.11).

    Similarly if I consume 800 units in a month I will be charged 700 Units at Slab 4 rates ignoring all the previous slab i,e (700 Units * 16 @ Slab 4 rates) and other 100 Units will be charged at Slab 5 rates i.e (100* * 18 @ Slab 5 rates).

    My question is how can I calculate this in related columns based on units consumes, is there any formula to work around this. I have tried using IF function but it's only good up to 2nd slab. When it comes to breaking up as per unit consumed I am stuck.

    Here is my excel sheet link for download:
    https://drive.google.com/file/d/0B2I...ew?usp=sharing

    Any Help from anyone will be highly appreciated.


    Thanks,
    Attached Images Attached Images
    Last edited by manas_zafar; 06-05-2017 at 07:33 AM. Reason: Uploading Excel Sheet

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help In Calculating My Electricity Bill With Excel

    I think it can be done with Vlookup.

    But since you don't add an excel file, I can't show it to you.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-05-2017
    Location
    Karachi, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Help In Calculating My Electricity Bill With Excel

    Quote Originally Posted by oeldere View Post
    I think it can be done with Vlookup.

    But since you don't add an excel file, I can't show it to you.
    I have uploaded it now. Please show me how.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help In Calculating My Electricity Bill With Excel

    e3=(D3<=50)*D3
    f3=(D3>50)*MEDIAN(0,100,$D3)
    g3=MEDIAN(0,100,$D3-100)
    h3=MEDIAN(0,100,$D3-200)
    i3=MEDIAN(0,400,$D3-300)
    j3=(D3>700)*($D3-700)
    Try this and copy towards down
    Last edited by samba_ravi; 06-05-2017 at 08:03 AM.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Help In Calculating My Electricity Bill With Excel

    or can try
    K3=IF(D3<50,D3*2,SUMPRODUCT((D3-{0,100,200,300,700}>0)*(D3-{0,100,200,300,700})*({5.79,8.11,10.2,16,18}-{0,5.79,8.11,10.2,16})))
    TO DIRECTLY CALCULATE POWER BILL

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA for calculating total quantity in multi level Bill of material
    By redmarko in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-29-2020, 05:45 PM
  2. Calculation of Electricity Consumption
    By priyankalaha18 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2017, 10:20 AM
  3. How we make Electricity Bill?
    By Padsall in forum Excel General
    Replies: 4
    Last Post: 11-02-2014, 01:59 AM
  4. Replies: 0
    Last Post: 01-21-2013, 08:46 AM
  5. Formula for calculating Hydro bill
    By skateblade in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-30-2006, 07:45 PM
  6. [SOLVED] In Excel- change the order of a name? Bill Gates to Gates, Bill
    By arnold36 in forum Excel General
    Replies: 1
    Last Post: 09-29-2005, 02:05 PM
  7. [SOLVED] Calculating a bill using a graduated rate...
    By Dave Smith in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-22-2005, 06:06 PM

Tags for this Thread

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