+ Reply to Thread
Results 1 to 3 of 3

Adding series in a table and breaking again when the value reaches a limit

  1. #1
    Registered User
    Join Date
    08-22-2019
    Location
    Denmark
    MS-Off Ver
    Microsoft Excel 2017
    Posts
    1

    Adding series in a table and breaking again when the value reaches a limit

    Hey everyone,

    I'm working on a school project and maybe one of you can help me with the following excel problem. I tried to google a little bit but I can't properly formulate my question.

    I have a table in excel that looks like this:

    6fqoi6r.png

    I'd like to be able to sum contents in U column automatically until the result reaches 235 and then start again from 0. Column B represents different days of the week. When a day changes, the calculations also should start from 0. There are about 5000 data points Can anyone help?

    Thanks a lot
    Last edited by adriandwor; 10-25-2021 at 04:38 PM.

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Adding series in a table and breaking again when the value reaches a limit

    Welcome to the forum.

    I created a helper column with this formula in X2, for example, and copied down:
    =QUOTIENT(SUM(U$2:U2),235)

    Then this formula in V2 copied down will do the trick:
    =SUMIF(X$2:X2,QUOTIENT(SUM(U$2:U2),235),U$2:U2)

    You may have to change commas to semi-colons.

    Good luck!

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Adding series in a table and breaking again when the value reaches a limit

    Try in V2:

    =IF(AND(B2=B1,V1+U2<235),V1,0)+U2

    Drag down
    Attached Images Attached Images
    Quang PT

+ 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] Formula to split sentence in two rows if it reaches limit of 58 character
    By accountant. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2021, 08:28 PM
  2. Adding a series to a Gantt table
    By tomassymonds in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-15-2019, 07:44 PM
  3. Pivot table data series limit of 255 but using only two columns
    By bculjak in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-19-2019, 12:59 PM
  4. vba generated data reaches excel cell limit
    By mbydl2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2019, 11:27 PM
  5. BREAKING down a month series into a daily series, quickly
    By skooby in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-13-2014, 02:09 AM
  6. [SOLVED] Conditional formatting of a cell in a column if character count reaches a limit
    By Pavan Renjal in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 01-13-2013, 03:16 PM
  7. How to fill series and change values after it reaches a certain point
    By GACS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2012, 02:44 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