From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: delete, add new row Date: Thu, 01 Dec 2011 18:42:17 +0100 Message-ID: <87fwh4i3ye.fsf@bye.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWAeE-0003tF-7Y for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:42:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWAe9-00027K-I8 for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:42:14 -0500 Received: from lo.gmane.org ([80.91.229.12]:54449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWAe8-00026u-O2 for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 12:42:09 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RWAe6-0007A2-NA for emacs-orgmode@gnu.org; Thu, 01 Dec 2011 18:42:06 +0100 Received: from port-92-195-243-104.dynamic.qsc.de ([92.195.243.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Dec 2011 18:42:06 +0100 Received: from nsmp_02 by port-92-195-243-104.dynamic.qsc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Dec 2011 18:42:06 +0100 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: emacs-orgmode@gnu.org Suppose I have this table: | month | expenses | average | |-------+----------+---------| | 1 | 20 | | | 2 | 30 | 25.0 | | 3 | 40 | 30.0 | #+TBLFM: @3$3..@>$3=vmean(@2$2..@0$2);%.1f Then I want to delete the second row and add a new one at the bottom. If I do so I get `#ERROR' on every recalculation. | month | expenses | average | |-------+----------+---------| | 2 | 30 | #ERROR | | 3 | 40 | #ERROR | | 4 | 50 | #ERROR | #+TBLFM: @2$3..@>$3=vmean(@INVALID$2..@0$2);%.1f If I push the second row to the bottom the result is as if the last row is still the second one. | month | expenses | average | |-------+----------+---------| | 2 | 30 | 30.0 | | 3 | 40 | 30.0 | | 1 | 20 | 20.0 | #+TBLFM: @2$3..@>$3=vmean(@4$2..@0$2);%.1f henry -- http://literaturlatenight.de