emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] field formula referencing field from other table?


From: Marko Schütz
Subject: [Orgmode] field formula referencing field from other table?
Date: Thu, 08 Oct 2009 12:43:08 -0400
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i386--netbsdelf) MULE/5.0 (SAKAKI)

Dear All,

I have two tables in a file, each being summed separately. Now I'd
like to have a third table summing the two sub-sums.

Here is an example:

\begin{comment}
#+ORGTBL: SEND criterion1 orgtbl-to-latex :splice t :skip 2
| Positions |   \euro |
|-----------+---------|
| pos 1.1   |  465.87 |
| pos 1.2   |  512.28 |
| pos 1.3   | 2689.78 |
| pos 1.4   | 1920.55 |
|-----------+---------|
| Sum 1     | 5588.48 |
#+TBLFM: @6$2=vsum(@address@hidden);%.2f
\end{comment}
\begin{comment}
#+ORGTBL: SEND criterion2 orgtbl-to-latex :splice t :skip 2
| Positions |   \euro |
|-----------+---------|
| pos 2.1   | 1083.37 |
| pos 2.1   |  334.87 |
|-----------+---------|
| Sum 2     | 1418.24 |
#+TBLFM: @4$2=vsum(@address@hidden);%.2f
\end{comment}

and the table summing the sub-sums:

\begin{comment}
#+ORGTBL: SEND total orgtbl-to-latex :splice t :skip 2
| Positions       | \euro |
|-----------------+-------|
| Sum criterion 1 |       |
| Sum criterion 2 |       |
|-----------------+-------|
| Total           |       |
#+TBLFM: @2$2=????;%.2f::@3$2=????;%.2f::@4$2=vsum(@address@hidden);%.2f
\end{comment}

Any advice would be greatly appreciated.

Best regards,

Marko

Attachment: pgpP3Jp2oGcYM.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]