From mboxrd@z Thu Jan 1 00:00:00 1970 From: qkbeyond@gmail.com Subject: org table spreadsheet problem Date: Mon, 28 Nov 2011 15:32:05 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV4Aj-0004M2-CY for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 11:35:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV4Ai-00078q-FC for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 11:35:13 -0500 Received: from lo.gmane.org ([80.91.229.12]:37027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV4Ai-00078T-9M for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 11:35:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RV4Af-0003U2-FA for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 17:35:09 +0100 Received: from 182.115.106.58 ([182.115.106.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2011 17:35:09 +0100 Received: from qkbeyond by 182.115.106.58 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2011 17:35:09 +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 hi,all. I have a orgtbl like the following, | # | 2 | a | | # | -2 | abc | | # | 5 | abc | | # | -3 | a | |---+----+-----| | | | | | ^ | x | | and i want to sum the second column which the corresponding third column's values="abc" to variable x. (in this example $x = -2+5 = 3). what Formula syntax for Calc/Lisp can achieve this,please. thanks.