Hi there I am trying to calculate the total hours per date of an intuition program that I attend. First column shows the date, second column the hours the lesson took place and third column shows the cumulative hours. When I reach 14 hours I have to pay the agreed fee. To this end, I am looking for a formula which will restart counting from zero when I reach 14 hours.
I have tried a Sum - offset formula along with If statement but I am stuck. Any ideas ?
Thank you in advance,
I have tried a Sum - offset formula along with If statement but I am stuck. Any ideas ?
Thank you in advance,
Book1 | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
5 | Agreed Hours | 14 | ||||
6 | ||||||
7 | Date | Hours | Cumulative Hours | |||
8 | 10-01-2022 | 2 | 2 | |||
9 | 11-01-2022 | 2 | 4 | |||
10 | 12-01-2022 | 2 | 6 | |||
11 | 13-01-2022 | 2 | 8 | |||
12 | 14-01-2022 | 2 | 10 | |||
13 | 15-01-2022 | 2 | 12 | |||
14 | 16-01-2022 | 2 | 14 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E8:E14 | E8 | =SUM(D$8:D8) |