I'm using spreadtab to calculate a single column of integers in a table. As in this sample I calculate sums by counting the lines manually.
Is there any possibility to count the lines programmaticaly so the b4can be updated automatically when Ii add some more row's?
\begin{spreadtab}{{tabular}{l|l}}
& @ Foo \\
@ one & 5 \\
@ two & 9 \\
@ three & 13 \\
& sum(b2:b4)
\end{spreadtab}