From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CAuVOWBV/GYkaAAAe85BDQ:P1 (envelope-from ) for ; Tue, 01 Oct 2024 20:02:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CAuVOWBV/GYkaAAAe85BDQ (envelope-from ) for ; Tue, 01 Oct 2024 22:02:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=c2HTglOQ; 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=pass (policy=reject) header.from=city17.xyz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727812959; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1bAJyOfX3+yoiWR0DgorWtrIFRXrqYEWHI2fBo6OZb8=; b=OIlI6HjtQj2j83573XkB90tURnTI8YwsWL7Kq44NLSspkDgcL8IwGRRS7GEJzaH+bAGI5p ld3j+gO5MIiqwOF8P8QPrAm1z/a+xMcBb9cf6SqrzswGj8VTWpffNgcLqxf7/6bIfddn+m O4LogpcRrztGR7yLZ/DUko1gHu8JMW+Z19PdStJWILf/mF4y6T8Rk/RQfZkDt4YptNvBiE rDuprFDRv6GcJk5HYU2PYRVi7PRNVWIkrMcIUegdl3QXgaS3vVoJyXF7NsCbuU1J0RUh2E oCVujqKHxeQv6psll8Xw34G/p/cHnkiC6NQYP+H5UaWjo0Qc9jdSpW6NaDRTXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=c2HTglOQ; 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=pass (policy=reject) header.from=city17.xyz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727812959; a=rsa-sha256; cv=none; b=E5uqiADXDoDmCQujCIV9sYpryi/eM5aAaClUwR/Be/lSjN5JOIZug7a5kOLKvSYn9P29s0 9/XQRO4vriTY2JQKszyZTuD8E0fGuJyqINcPsLLzJCy3+lBKnZ2Yt9gOjhxQZDQU20w1as +eE2VZ8IHWCuyBfW+D3QeEsT3bw6vF46cvzpYR7ZzUvyPqzy9Mi3BpLXQ5tFyOGmRJ5y89 HhfJ+cREXtBzEhHrj8HEj54/BuDVAFFWl3boyWNJ1+vPfpB5h/ZXSaa4rmdpOazYSdARYC Sk/sOJBBy0VRQnIrVe85Cf7XWVHIKjuxex7scey4ARTMQMHk9Gh241TgV+s0IA== 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 D3C747D050 for ; Tue, 01 Oct 2024 22:02:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svj3r-0000es-4v; Tue, 01 Oct 2024 16:01:31 -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 1svj3o-0000eQ-Rd for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 16:01:28 -0400 Received: from mail.city17.xyz ([45.91.101.53]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1svj3k-0003sv-8J for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 16:01:28 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E87FF4E26C; Tue, 1 Oct 2024 22:01:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=city17.xyz; s=dkim; t=1727812881; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=1bAJyOfX3+yoiWR0DgorWtrIFRXrqYEWHI2fBo6OZb8=; b=c2HTglOQTcsVz3oS9+1+sSiCvu4FP6dp0BluwpT7zAltvLcncbAU6EpectWRvLz4CTO3F2 RQfuWa0wjhLbvIX0belOdxyDfH/KuvKtm9SDR1tBR0RhWESyx3m70gAwbi727+pp7OlpiE OHgj4/1PIZvDJUKo5SdZd2pnlnFg0/pEbVan+Ijs2n+OyYVrhJB9sA8HP1WUporyUZexVR 5MPhf/eP6N5x5rzW5IK4J95754Oq/ObXYcO4WSyufJ6PUFqQI0H+Nmr6Z+Z7N5RfaWlIQH GzmVDdg3YSCEciHyBzKGS/qRFaH2JtWiGcRcQV12aBXPpX7u521Y7ZT8syJHZA== From: jman To: Cc: emacs-orgmode@gnu.org Subject: Re: [Question] Getting cell value and use it in table formula In-Reply-To: (tomas@tuxteam.de's message of "Tue, 1 Oct 2024 17:04:10 +0200") References: <87jzerriv0.fsf@city17.xyz> Date: Tue, 01 Oct 2024 22:01:18 +0200 Message-ID: <87zfnnpp81.fsf@city17.xyz> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=45.91.101.53; envelope-from=emacs-orgmode@city17.xyz; helo=mail.city17.xyz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.42 X-Spam-Score: 0.42 X-Migadu-Queue-Id: D3C747D050 X-TUID: 5MEmKv51R1yP writes: > I think it's in the manual (this is Org v9.7): > > | 3.5.3 Emacs Lisp forms as formulas > | ---------------------------------- For some reason, I think I got confused by the table formula modifiers (E, N, L) and various type casting. What I wanted to achieve was simply: ----------s---------s---------- | EUR | USD | Exchange rate | |-----+--------+---------------| | 10 | 8.97 | 0.897 | | 15 | 13.455 | | #+TBLFM: $2='(* $1 @2$3);N ----------e---------e---------- Best,