From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: date calculation in org table Date: Thu, 23 May 2013 09:22:44 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfPnV-0002u3-Py for emacs-orgmode@gnu.org; Thu, 23 May 2013 03:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfPnU-0004if-1g for emacs-orgmode@gnu.org; Thu, 23 May 2013 03:18:49 -0400 Received: from mail-forward5.uio.no ([2001:700:100:10::37]:54637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfPnT-0004iH-RW for emacs-orgmode@gnu.org; Thu, 23 May 2013 03:18:47 -0400 Received: from exim by mail-out5.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1UfPnR-00073U-QX for emacs-orgmode@gnu.org; Thu, 23 May 2013 09:18:45 +0200 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: The Dude Cc: emacs-orgmode@gnu.org Hi, Dude, Not quite sure why that doesn't work (nor gives an error message about trying to set the same cell). However, it will work if you specify the cell range: > @4$4=$sdate + $3::$4=@-1$4+$3 ^^ @4$4=$sdate + $3::@5$4..@20$4=@-1$4+$3 ^^^^^^^^^^^ BTW, it's OK to omit the reference to the same column, so you can save two characters: @4$4=$sdate + $3::@5$4..@20$4=@-1$4+$3 ^^ @4$4=$sdate + $3::@5$4..@20$4=@-1+$3 Yours, Christian