From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: carsten.dominik@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Problem with sum function in table in org-mode Date: Thu, 07 Jun 2007 00:12:55 -0700 Organization: http://groups.google.com Message-ID: <1181200375.838839.319610@k79g2000hse.googlegroups.com> References: <46679539$0$328$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1181208110 20288 80.91.229.12 (7 Jun 2007 09:21:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2007 09:21:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 07 11:21:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HwEBf-0000Q6-Th for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jun 2007 11:21:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwEBe-0007FQ-GY for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jun 2007 05:21:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 81.70.211.230 Original-X-Trace: posting.google.com 1181200376 4155 127.0.0.1 (7 Jun 2007 07:12:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 Jun 2007 07:12:56 +0000 (UTC) In-Reply-To: <46679539$0$328$e4fe514c@news.xs4all.nl> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.8.1 (KHTML, like Gecko) Safari/312.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k79g2000hse.googlegroups.com; posting-host=81.70.211.230; posting-account=6ObsKgwAAACfVDWtlVvIyqCPVEcdCppi Original-Xref: shelby.stanford.edu gnu.emacs.help:149151 X-Mailman-Approved-At: Thu, 07 Jun 2007 05:19:34 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44741 Archived-At: On Jun 7, 7:18 am, Cecil Westerhof 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