Here's an example:
| low | high | students | F(students) |
|-----+------+----------+-------------|
| 0 | 30 | 15 | 15 |
| 30 | 60 | 30 | 45 |
| 60 | 70 | 40 | 85 |
| 70 | 90 | 60 | 145 |
| 90 | 100 | 15 | 160 |
#+TBLFM: @2$4..@>$4=mcol(accum(add, @2$3..@>$3), @#-1)
I hoped to do away without mcol()
. For a small table like this it doesn't really matter, but, in general, this will needlessly recalculate the values as many times as there are rows. How would I avoid it?