unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: carsten.dominik@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with sum function in table in org-mode
Date: Thu, 07 Jun 2007 00:12:55 -0700	[thread overview]
Message-ID: <1181200375.838839.319610@k79g2000hse.googlegroups.com> (raw)
In-Reply-To: <46679539$0$328$e4fe514c@news.xs4all.nl>

On Jun 7, 7:18 am, Cecil Westerhof <d...@dummy.nl> wrote:
> I have the following table inorg-mode:
>
> |--------+------------------------+-------+----------|
> | client |                  hours | tarif |   amount |
> |--------+------------------------+-------+----------|
> | A      |                  12.50 |    75 |   937.50 |
> | B      |                  16.00 |    85 |  1360.00 |
> | C      |                  73.50 |   100 |  7350.00 |
> | D      |                  13.50 |   125 |  1687.50 |
> |--------+------------------------+-------+----------|
> | Total  | :=vsum(@II..@III);%.2f |       | 11335.00 |
> |--------+------------------------+-------+----------|
> #+TBLFM: $4=$2*$3;%.2f::@6$4=vsum(@II..@III);%.2f
>
> The total in the amount column works without a problem, but in the hours
> column it does not work. What is going wrong here?

Go into the table field with the formula and press either TAB or C-c C-
c.

Hope this helps

- Carsten

  reply	other threads:[~2007-06-07  7:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  5:18 Problem with sum function in table in org-mode Cecil Westerhof
2007-06-07  7:12 ` carsten.dominik [this message]
2007-06-08  7:45   ` Cecil Westerhof
2007-06-08  8:13     ` carsten.dominik

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1181200375.838839.319610@k79g2000hse.googlegroups.com \
    --to=carsten.dominik@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).