[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Table calculations with hline references
From: |
Daniel Hornung |
Subject: |
[O] Table calculations with hline references |
Date: |
Mon, 19 Jan 2015 01:19:04 +0100 |
User-agent: |
KMail/4.11.5 (Linux/3.6.11-gentoo-r1; KDE/4.11.5; x86_64; ; ) |
Hi,
I am trying to calculate a field using references to horizontal lines
according to http://orgmode.org/manual/References.html
For example:
| col1 | col2 |
|------+------|
| foo | 1 |
| bar | 2 |
| baz | 4 |
|------+------|
| sum | |
| | |
#+TBLFM: @II+1$2=vsum(@address@hidden)
The field to the right of "sum" (@5$2 as a fixed reference) should be "7".
The output is as follows though (the cursor was in the "baz" field
when I pressed "C-u C-c *" to recalculate all formulas):
| col1 | col2 |
|------+------|
| foo | 1 |
| bar | 2 |
| 7 | 7 |
|------+------|
| 10 | 10 |
| | |
#+TBLFM: @II+1$2=vsum(@address@hidden)
Could anyone enlighten me where I made a mistake here?
Thanks a lot,
Daniel
--
Mein öffentlicher Schlüssel / My public key: 4096R/600ACB3B 2012-04-01
Fingerabdruck / Fingerprint:
9902 575B B9A0 C339 CFDF 250B 9267 CA6B 600A CB3B
Runterladen z.B. bei/ Get it e.g. from:
pgp.mit.edu, subkeys.pgp.net, pgp.uni-mainz.de, pool.sks-keyservers.net, ...
signature.asc
Description: This is a digitally signed message part.
- [O] Table calculations with hline references,
Daniel Hornung <=