From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: send the content of one column of a table to another table Date: Tue, 10 Apr 2018 12:24:34 +0200 Message-ID: <87y3hvickd.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5qUi-0008OZ-QV for emacs-orgmode@gnu.org; Tue, 10 Apr 2018 06:27:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5qUe-0007Gy-PQ for emacs-orgmode@gnu.org; Tue, 10 Apr 2018 06:27:20 -0400 Received: from [195.159.176.226] (port=60427 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5qUe-0007Gd-IG for emacs-orgmode@gnu.org; Tue, 10 Apr 2018 06:27:16 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f5qSW-00077c-PC for emacs-orgmode@gnu.org; Tue, 10 Apr 2018 12:25:04 +0200 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" To: emacs-orgmode@gnu.org Hi I want to do something simple, just sending (pushing) a column of one table to another column of another table. I know about orgtbl-join but I can't get it to work, besides I don't need all its sophistication. So I have #+tblname: master | type | Fiber | Sugar | Protein | Carb | type | |----------+-------+-------+---------+------+------| | eggplant | 2.5 | 3.2 | 0.8 | 8.6 | | | tomatoe | 0.6 | 2.1 | 0.8 | 3.4 | | | onion | 1.3 | 4.4 | 1.3 | 9.0 | | | egg | 0 | 18.3 | 31.9 | 18.3 | | | rice | 0.2 | 0 | 1.5 | 16.0 | | | bread | 0.7 | 0.7 | 3.3 | 16.0 | | | orange | 3.1 | 11.9 | 1.3 | 17.6 | | | banana | 2.1 | 9.9 | 0.9 | 18.5 | | | tofu | 0.7 | 0.5 | 6.6 | 1.4 | | | nut | 2.6 | 1.3 | 4.9 | 7.2 | | | corn | 4.7 | 1.8 | 2.8 | 21.3 | | #+TBLNAME: statistics | type | Protein | |---------+---------| | eggplan | | | tomatoe | | | onion | | | egg | | | rice | | | bread | | | orange | | | banana | | | tofu | | | nut | | | corn | | So all the time a change the content of the protein column in master table I want to send that change to the statistics table. How can I achieve that? Thanks Uwe Brauer