+ Reply to Thread
Results 1 to 9 of 9

Cumulative sum (if values match)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Cumulative sum (if values match)

    I'm trying to have a rolling sum based on the number in a third row (vs just a cumulative sum) as a single formula i.e.

    yEw7KaQFRYWHHjjeVQd5aw.png

    i.e. row 3 = 2.74, cumulative sum using the values in row 2, for the values 2.74

    And basically, this sum resets after each new number.

    Is such a formula possible?

    Ty
    Mdn
    Attached Files Attached Files
    Last edited by Median; 07-17-2018 at 08:48 AM.

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

    Re: Cumulative sum (if values match)

    Sorry, I don't understand the maths you are trying to explain.

    Which rows are you trying to automate? How do the rows relate to each other?
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: Cumulative sum (if values match)

    It is a little bit tricky to explain

    So row 4 is the cumulative sum of row 2, but the sum resets after each new number in row 3 (when 2.74 changed to 2.76, the sum reset)

    qfGU76l8SvedQBvsugFKyQ.png

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Cumulative sum (if values match)

    Got it! OK - I'll have a proper look now.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Cumulative sum (if values match)

    Where did the decimal numbers come from? How does 547 become 547.43???

    EDIT: Ignore this!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Cumulative sum (if values match)

    In A4 drag copied right:

    =SUMIF($A$3:A3,A3,$A$2:A2)

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

    Re: Cumulative sum (if values match)

    A4=SUMIFS($A2:A2,$A3:A3,A3)
    Try this and copy towards right
    Samba

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

  8. #8
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: Cumulative sum (if values match)

    Bril, massively appreciated all

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Cumulative sum (if values match)

    You're welcome!

+ 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] cumulative sume with INDEX/MATCH
    By ron2k_1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-25-2015, 08:03 PM
  2. [SOLVED] Lookup/specific match with Cumulative total
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-26-2013, 01:40 PM
  3. Cumulative Sum of values in an array
    By seigna in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 06:59 PM
  4. Take cumulative column down to instantaneous values
    By zax11029 in forum Excel General
    Replies: 2
    Last Post: 07-14-2010, 11:14 AM
  5. Cumulative Values
    By stevewilde in forum Excel General
    Replies: 2
    Last Post: 08-14-2009, 04:33 AM
  6. How to calculate cumulative values
    By Learner in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2006, 02:35 AM
  7. [SOLVED] Cumulative Values
    By David in forum Excel General
    Replies: 2
    Last Post: 08-04-2006, 06:55 PM

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