Uwe Brauer <o...@mat.ucm.es> writes: > Hello > > Programs like OO calc allow me to actualise automatically > all rows of a column containing a formula. > > Like: > > Res1| Res2| Total > 3 | 4 | =$1+$2 > 4 | 5 | > 4 | 5 | > 4 | 6 | > 4 | 7 | > 4 | 8 | > 4 | 9 |
If you prefix the first column of the table so that it is a valid org-mode table like this: |Res1| Res2| Total |3 | 4 | =$1+$2 |4 | 5 | |4 | 5 | |4 | 6 | |4 | 7 | |4 | 8 | |4 | 9 | Then you can just hit C-u C-u C-c C-c on the formula line and it moves to the bottom and updates the entire table giving you this: | Res1 | Res2 | Res1 + Res2 | | 3 | 4 | 7 | | 4 | 5 | 9 | | 4 | 5 | 9 | | 4 | 6 | 10 | | 4 | 7 | 11 | | 4 | 8 | 12 | | 4 | 9 | 13 | #+TBLFM: $3=$1+$2 HTH, Bernt > > Now the only thing I have to do is copy and paste it into > the rows below that formula in the same column. > -------------------------- > The closest thing I know in org mode is to use > C-6 C-c = > but of course I have to count the numbers of rows in > advance, so the question is: > > Could C-c = also act on a marked column, so that I don't > have to specify the numbers of rows? > > thanks > > Uwe Brauer > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode