emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Org table: how to reference part of the rows


From: Qiang Fang
Subject: [O] Org table: how to reference part of the rows
Date: Sat, 16 Dec 2017 19:24:52 +0800

The last column is the ratio between column b and a, the last row is the sum of
each row, the second formula only applies from the second row to the row before
last row. The table that doesn't work is:

    |     |      a |     b |      ratio |
    |     |  0.797 | 0.780 |            |
    |     |  0.744 | 0.730 |            |
    |     | 12.707 | 2.384 |            |
    | sum | 14.248 | 3.114 | 0.92040988 |
    | ^   |      x |     y |            |
    #+tblfm: $x=vsum(@address@hidden) :: $y=vsum(@address@hidden)
    #+tblfm: $4 = ($3 / $2) * 100


reply via email to

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