Dear All,
I am stuck at this formula, appreciate if you can help me please.
Column A and B are already populated , we need to calculate C , D and E and each column is dependent on other columns, below is the calculation tracing for reference pls.
| Student | A | B | C | D | E |
| 1 | 40 | 3000 | 3000 | lower of A and C - 40 | First Row for each student = 0 |
| 1 | 126 | 3000 | 3000-40 | lower of A and C - 126 | 40+0 = 40 |
| 1 | 40 | 3000 | 3000-166 | lower of A and C - 40 | 40+126 =166 |
| 1 | 10 | 3000 | 3000-206 | lower of A and C - 10 | 166+40 = 206 |
| 1 | 20 | 3000 | 3000-216 | lower of A and C - 20 | 206+10 =216 |
| 2 | 30 | 3000 | 3000 | lower of A and C- 30 | First Row for each student = 0 |
| 2 | 40 | 3000 | 3000-30 | lower of A and C - 40 | 30+0 = 30 |
| 2 | 10 | 3000 | 3000-70 | lower of A and C - 10 | 30+40=70 |
Thank you so much in advance