emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Difference between two rows


From: Thierry Banel
Subject: Re: [O] Difference between two rows
Date: Sun, 01 Jun 2014 19:57:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Le 01/06/2014 13:38, Cecil Westerhof a écrit :
> I like to calculate in a table the difference between the value in a
> field in the current row and the previous field. How would I do that?
>
> Something like:
> |-------+------------|
> | value | difference |
> |-------+------------|
> |    12 |            |
> |    15 |          3 |
> |    83 |         68 |
> |    87 |          4 |
> |    85 |         -2 |
> |-------+------------|
>
>
> -- 
> Cecil Westerhof
|   | value | difference |
|---+-------+------------|
|   |    12 |            |
| # |    15 |          3 |
| # |    83 |         68 |
| # |    87 |          4 |
| # |    85 |         -2 |
|---+-------+------------|
#+TBLFM: address@hidden

The first row does not have a #, and therefore it is not computed.

--
Thierry





reply via email to

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