Results 1 to 7 of 7

Use cumulative sum in Excel, ( linked in loops) , need help .

Threaded View

abedoo Use cumulative sum in Excel,... 12-02-2016, 04:49 AM
JohnTopley Re: Need Help in Excel,... 12-02-2016, 05:10 AM
abedoo Re: Need Help in Excel,... 12-02-2016, 06:39 AM
JohnTopley Re: Use cumulative sum in... 12-02-2016, 07:14 AM
abedoo Re: Use cumulative sum in... 12-02-2016, 09:37 AM
JohnTopley Re: Use cumulative sum in... 12-02-2016, 10:32 AM
zbor Re: Need Help in Excel,... 12-02-2016, 05:43 AM
  1. #1
    Registered User
    Join Date
    12-02-2016
    Location
    Jordan
    MS-Off Ver
    office 2013
    Posts
    3

    Use cumulative sum in Excel, ( linked in loops) , need help .

    Dear all I need some support in a complicated excel function , which I was trying hard since a week .

    its simply a function to calculate electricity power consumption, including generated power from solar systems I will try to explain it in her and will be happy if someone can help me knocking it out. (prefer in excel not VB) .

    So
    column A ..Is Value " B" = monthly Net power consumption
    column B ..Is Value "MC" = Monthly power consumption from Grid ( consumed from the Grid)
    column C ..Is Value " MI" = monthly power feed into the Grid ( generated from the solar system)
    column D ..Is Value "R" = total power reserve ( cumulated from extra generated power month by month)

    SO simply

    B = MC - MI + R
    in words ( Net power consumption = monthly power consumed - generated power + reserve which was generated and not used from previous months)

    if B is positive then its need to be paid
    if B if negative (which means we generate more than consumed) , then the new R = old R + the new B

    it looks simple , but the problem that if I use if statement I will have a loop , where I can cumulate the R and use it again in the next month.

    how can I get this don !!!

    thanks all
    Last edited by abedoo; 12-02-2016 at 05:32 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 04-24-2014, 11:56 AM
  2. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  3. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  4. Replies: 2
    Last Post: 03-30-2009, 04:04 AM
  5. New Function in Excel 2007 - IFERROR Function
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-15-2007, 05:09 AM
  6. Javascript function converting to Excel function
    By kamila in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-31-2007, 07:06 AM
  7. [SOLVED] Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 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