From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Some problems with times in a spreadsheet Date: Thu, 22 Jul 2010 13:41:06 +0200 Message-ID: <87mxtjrbfx.fsf@linux-lqcw.site> References: <87mxtljf95.fsf@linux-lqcw.site> <20100721134617.GK5569@soloJazz.com> <87eiewrnsj.fsf@linux-lqcw.site> <87bp9zc3fr.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=58828 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Obu92-0000xl-1B for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 07:40:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Obu8z-0001Ud-BQ for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 07:40:55 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:59560) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obu8z-0001TT-6v for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 07:40:53 -0400 Received: by ewy28 with SMTP id 28so3198394ewy.0 for ; Thu, 22 Jul 2010 04:40:47 -0700 (PDT) In-Reply-To: <87bp9zc3fr.fsf@gmx.net> (Andreas Burtzlaff's message of "Thu, 22 Jul 2010 10:43:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Burtzlaff Cc: Cecil Westerhof , emacs-orgmode@gnu.org Op donderdag 22 jul 2010 10:43 CEST schreef Andreas Burtzlaff: >> I have two formula's that I have to write for every column, I still >> would like to now if there is a way to only write them once. > > No, I'm afraid not. I have to live with it then. >> I am not very happy with the long line of formula's. Especially when I >> have to repeat formula's. Would something like this be possible? >> #+TBLFM: $totalTime1=deg(vsum(@-II..@-I)); f2 :: >> $totalTime2=deg(vsum(@-II..@-I)); f2 :: >> $declaration1=$totalTime1*$hourRate1; f2 :: >> $declaration2=$totalTime2*$hourRate2; f2 >> > > The formula editor ( C-c ' ) will display the formulas one per line and > make duplicating and changing them much easier. Works like a charm. Not optimal (I need to enter the formula editor to check), but good enough. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof