all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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: Fri, 08 Jun 2007 01:13:12 -0700	[thread overview]
Message-ID: <1181290392.143777.68490@q69g2000hsb.googlegroups.com> (raw)
In-Reply-To: <46690937$0$329$e4fe514c@news.xs4all.nl>

On Jun 8, 9:45 am, Cecil Westerhof <d...@dummy.nl> wrote:
>  carsten.domi...@gmail.com wrote:
> > 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.
>
> That works. I tried 'C-c *' what did work on the other fields, but not on
> this one. Well, I have a workaround now. ;=}

It is not really a work-around though.  `C-c *' does re-apply all
stored formulas.
The formula you has typed was not yet stored (moved to the TBLFM
line),
that only happens when you press TAB or `C-c C-c' or RET in the field
where
you typed the formula, or if you enter the formula with the `C-c =' or
`C-u C-c C-=' commands.


- Carsten

      reply	other threads:[~2007-06-08  8:13 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
2007-06-08  7:45   ` Cecil Westerhof
2007-06-08  8:13     ` 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

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

  git send-email \
    --in-reply-to=1181290392.143777.68490@q69g2000hsb.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.