emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] Table not recomputed (incorrect results)


From: Carsten Dominik
Subject: Re: [O] [BUG] Table not recomputed (incorrect results)
Date: Tue, 10 Sep 2013 09:52:20 +0200

On 10.9.2013, at 09:49, Sebastien Vauban <address@hidden> wrote:

> Hi Carsten,
> 
> Carsten Dominik wrote:
>> On 10.9.2013, at 04:32, "Sebastien Vauban" <address@hidden> wrote:
>>> 
>>> I'm loosing my latin with the following table, which Org declares as
>>> "converged" or "already stable".
>>> 
>>> --8<---------------cut here---------------start------------->8---
>>> #+TITLE:     Birthday
>>> 
>>> * Commande
>>> 
>>> | mini sandwiches                 | 261 | 1.00 | 260.00 |
>>> | rauwkostchotels                 |   2 |  36. |  72.00 |
>>> | koude hapjes                    | 130 |      |   0.00 |
>>> | dessertjes (in hapjes glaasjes) |  90 |    3 |   0.00 |
>>> |---------------------------------+-----+------+--------|
>>> | total                           |     |      |   332. |
>>> #+TBLFM: $4=$2*$3;%.2f::@2$3=30*1.2::@5$4=vsum(@address@hidden)
>>> --8<---------------cut here---------------end--------------->8---
>>> 
>>> Obviously, if you look at the amounts, it isn't correct...
>> 
>> The first four lines are all above the first hline and
>> are therefore treated as header and are exempt from calculation.
>> Formular applying to these fields are ignored.
> 
> Whoa. Did not know that... (or already forgotten about!)

It has to be like this, otherwise any column formula would destroy the header!

- Carsten

> 
>> Add a header line to the table:
> 
> OK, thanks!
> 
> Best regards,
>  Seb
> 
> -- 
> Sebastien Vauban
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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