emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Table not recomputed (incorrect results)
Date: Tue, 10 Sep 2013 09:52:20 +0200	[thread overview]
Message-ID: <2F10A217-094B-4E37-8E6E-9C2CBE3C2E39@gmail.com> (raw)
In-Reply-To: <8661u9f762.fsf@somewhere.org>

[-- Attachment #1: Type: text/plain, Size: 1508 bytes --]


On 10.9.2013, at 09:49, Sebastien Vauban <sva-news@mygooglest.com> wrote:

> Hi Carsten,
> 
> Carsten Dominik wrote:
>> On 10.9.2013, at 04:32, "Sebastien Vauban" <sva-news@mygooglest.com> 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(@1..@-1)
>>> --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 #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

      reply	other threads:[~2013-09-10  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  2:32 [BUG] Table not recomputed (incorrect results) Sebastien Vauban
2013-09-10  3:44 ` Carsten Dominik
2013-09-10  7:49   ` Sebastien Vauban
2013-09-10  7:52     ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2F10A217-094B-4E37-8E6E-9C2CBE3C2E39@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sva-news@mygooglest.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).