From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +CslIPMRGGVj+AAAG6o9tA:P1 (envelope-from ) for ; Sat, 30 Sep 2023 14:17:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +CslIPMRGGVj+AAAG6o9tA (envelope-from ) for ; Sat, 30 Sep 2023 14:17:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12DF638F43 for ; Sat, 30 Sep 2023 14:17:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696076275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=jKFPgl6Pz0UVWZ+ZccOs+xfxPaF9AwPXDqXAn96zOKo=; b=k5iiFsCarUeOHCHvL7O2WVuXS/auhpzjH6GPys9tqJgaev4j5uiVI1sui6tCpl+mjr5cly uq73FALdaY47yA+zeHhvUSW0Xj8dShxCGstCLobMF1TnKyTRFu1rKZ8R0zFnlw4fCM+6Ur akkk3YSSmrn4/EovIkJN7N43urDVGhVV8I4DlwAdRYsY1gIl0vExnzGr5Ot4cTlLbVhF/a cXRQf2wrI0Q6Fa1xfCJ6ZZq0C51CD70lvdxBch0B5v5ATnzCg/sHv0u0ciMA/JvIigCCwO Fg6IvZBTw/ZVl4eUZK0OZqRwXYZtx6N/ZhEp6YTzRNqgvuqVWScrmVbRlLK7dQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696076275; a=rsa-sha256; cv=none; b=Bw9228o/dce9+WiiHUDfk/ND+Dg3bqjCaFQ1eKyQRgi9rLLX+feqGp8BjZE7V8p67IbUlu Cs4E+cL+M78mZJTa/tSNMnR5iO1kRpjW4C4O07OjWjf9BO0UCXcnLqNXSV1gA5xHR2euz6 jKWZ/R6KB1ZNdeGm0NbC2u0fuobHFxMTp4t75lVjms6LGVTOJEtgdd5jPw0UUegCLsimNh xK/KU3GN8OY+y8/c5BGrkGKvaOlefgZjR9jfnUCgddfO8hxlDffSHfhDwNSf5vGFyFS7RW OmjmjhUPhv1oYnPfqu2HCum5idIkqIl12H4A14iFiKs1P4MxBSPdpvShjDdrxA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmYu0-00014Q-R8; Sat, 30 Sep 2023 08:16:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmYty-00014C-Lj for emacs-orgmode@gnu.org; Sat, 30 Sep 2023 08:16:54 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmYtt-0000QL-LX for emacs-orgmode@gnu.org; Sat, 30 Sep 2023 08:16:54 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qmYtr-0004vS-34 for emacs-orgmode@gnu.org; Sat, 30 Sep 2023 14:16:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: org table how to =?utf-8?B?wqtjb252ZXJ0wrs=?= column formula into row formula Date: Sat, 30 Sep 2023 14:16:36 +0200 Message-ID: <8734yvn9ej.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:xAdlBzE0ZDw46N8irwsoDVjv+x8= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.60 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 12DF638F43 X-Spam-Score: -2.60 X-TUID: TXZCZ3iSOMuS Hi I have the following table | name | pos | rango | weight | |------+-----+-------+--------| | | 23 | 329 | 307 | | | 71 | 329 | 259 | | | 77 | 333 | 257 | | | 58 | 333 | 276 | | | 45 | 329 | 285 | | | 47 | 330 | 284 | | | 71 | 329 | 259 | | | 77 | 333 | 257 | | | 77 | 333 | 257 | | | 155 | 310 | 156 | | | 164 | 325 | 162 | | | 203 | 330 | 128 | #+TBLFM: $4=($3+1)-$2 I might be forced to add quite a bit of additional columns to that table making it difficult to read. So I thought to transpose the table as this, but how can I calculate the last row, using a calc operation. | Name | | | | | | | | | | | | | |--------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----| | pos | 23 | 71 | 77 | 58 | 45 | 47 | 71 | 77 | 77 | 155 | 164 | 203 | | rango | 329 | 329 | 333 | 333 | 329 | 330 | 329 | 333 | 333 | 310 | 325 | 330 | | weight | | | | | | | | | | | | | I tried #+TBLFM: @4$2..@4$13=(@3$2+1..@3$13+1)-(@2$2..@2$13);f1 but it did not work, of course I could try out to set a formula for each cell but frankly this would not be practical. Any suggestions? thanks Uwe Brauer -- Warning: Content may be disturbing to some audiences I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the NATO membership of the Ukraine. I support the EU membership of the Ukraine. https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/