+ Reply to Thread
Results 1 to 2 of 2

Cumulative sum formula

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    55

    Cumulative sum formula

    This is really frustrating me but probably easy to all of you! In the attached example, row b shows some sample data. This data is always one column wide but can be upto 600 rows in data. Basically I want to achieve the numbers in column A automatically when the data is pasted in. The data in column A is calculated as follows.

    When the sum of 1 or above has been reached in column B the amount in column A stops counting. So, for example, the sum between rows 8 to 6 is equal to 1.1 - the value starts counting from the bottom of the data and has reached 3. The amount in Column A starts with a 1 and then a 1 is added until the sum in column b is reached to 1 or above. Then it starts again....so for example row 5 is equal to 1 and as this is 1 or above, the next amount in column b is a 1. When the data is reached to the top, the value just remains (i.e. the formula stops).

    I am sorry that this is not the best description. I am very new to Excel but hoping someone can help with a formula....

    Many thanks!
    table.JPG
    Last edited by dtrom26; 07-10-2019 at 11:13 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Cumulative?

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Formulas for cumulative value and cumulative %
    By Brotein in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-28-2013, 07:19 PM
  2. [SOLVED] Cumulative End If ?
    By ZuluNation in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2012, 06:31 AM
  3. Cumulative Sum
    By Fraser Clark in forum Excel General
    Replies: 5
    Last Post: 12-31-2008, 12:26 PM
  4. cumulative sum
    By johngav in forum Excel General
    Replies: 6
    Last Post: 10-06-2008, 03:07 PM
  5. [SOLVED] Cumulative Sum
    By Arvi Laanemets in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM
  6. [SOLVED] Cumulative Sum
    By kk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] Cumulative Sum
    By kk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  8. [SOLVED] Cumulative Sum
    By kk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2005, 04:05 AM

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