[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Table summation
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] Table summation |
Date: |
Tue, 8 Apr 2008 08:22:09 +0200 |
Hi Russel,
no, I don't see a good way to fix this. Just get used to use
the proper commands to insert new lines. To make it easier to
add new lines at the end, try
(setq org-table-tab-jumps-over-hlines nil)
The TAB will create new lines before horizontal separator lines.
Judging from your own follow-up message, this might be all you need?
- Carsten
On Apr 1, 2008, at 6:05 PM, Russell Adams wrote:
Speaking of tables today, I thought I'd post a question that I haven't
found a simple answer for.
How do you sum a table reliably? (ie: tolerant of editing)
This table requires the use of org-table-insert-row (etc...) in order
to keep the formula correct.
| Header |
|--------|
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
|--------|
| 15 |
#+TBLFM: @7$1=vsum(@address@hidden)
How can I do something like this, where the last cell is automatically
the sum of the column, and not an absolute reference that must be
maintained?
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
|--------|
| 15 |
#+TBLFM: LAST=vsum($0..$0)
Thanks.
------------------------------------------------------------------
Russell Adams address@hidden
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode