From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YOXxEyG/KWEtlwAAgWs5BA (envelope-from ) for ; Sat, 28 Aug 2021 06:44:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IDClDyG/KWGvYQAA1q6Kng (envelope-from ) for ; Sat, 28 Aug 2021 04:44:17 +0000 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 A342B23E76 for ; Sat, 28 Aug 2021 06:44:16 +0200 (CEST) Received: from localhost ([::1]:59768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJqCV-0000vs-Gd for larch@yhetil.org; Sat, 28 Aug 2021 00:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJqAX-0000vi-AL for emacs-orgmode@gnu.org; Sat, 28 Aug 2021 00:42:13 -0400 Received: from ciao.gmane.io ([116.202.254.214]:50250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJqAV-0004tL-Qt for emacs-orgmode@gnu.org; Sat, 28 Aug 2021 00:42:13 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mJqAT-0004vM-FN for emacs-orgmode@gnu.org; Sat, 28 Aug 2021 06:42:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Re: Org table: emphasizing calculated cell Date: Sat, 28 Aug 2021 07:42:05 +0300 Message-ID: <877dg6tc2q.fsf@iki.fi> References: <87r1egeozd.fsf@iki.fi> <20210826075152.17173b56@carnot2> <8735qvcyyy.fsf@iki.fi> <20210827081226.402ce8c3@carnot2> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:6DDWd3E75XHpoS5xHeCAa6h/NUo= 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630125856; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NnbXd2dBVo6nQs9ub2TplHyZPAXsKBGyg4rNGvW8K0I=; b=AofzrBp460s+BQBubC2xJKk5ug8bNFFBVybkxnfWvzDXUjZVaSZdhGgJylJzYonxCtOpcx d04YHZsFp5I521OiuQSBAQX/g2lUkosjS8JmaIe0iwDI1BGgJzPFoP+kQjiUNLd1q5m+bh YbvVm2NpXiyOsWnuFd7qHImNzMiHJEyEuPrUrBKo5YOCcSBH4a+zWJJoeu7jmphLTABdZk nJlGwJ1l/KOD3qz4NKxSWOZmZTCa7GeqdQ1zPJqAObeddKK1W+LdhlJFH+HGKixewQBRT/ n7mSqTMenSd68v0M6UkvQ491EN1YIWt0lH8TqvARv0EaNV0VXK5YILRoKqW9Wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630125856; a=rsa-sha256; cv=none; b=cCf+FkAybNwIIZcTG3T7t2Sljpfq3g/BvqMin9QPUW75p4MH4J4/N2zl8UGreBKaCd5Tzp P/zVDTOyICI1f2kgH2GqLhb7TRXgP9EcWTHG5bnh0OupN0NJ4QCXTd7egH5wCIttP0cP39 lvFglDQ+dIXJOUAdiW7lU7Y9zGJzKhGcTfxRclltYihy3kAUZFXgW9+wszLDRlY/brN0y6 i+rRuWz2i3wbmFwV/c59lleHy6UQSsWkmIsniNXdiqeBHBLZmwPEdDstTCt3Dqq6I5GoxX eBFMWatPiA4ODNl5hU31dkR/T1kVhPY7ORkINU4tfEdlxvCcTmCeNeIoxTlZqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A342B23E76 X-Spam-Score: -0.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: YWhc80DQ82w0 Greetings Norwid. Norwid Behrnd writes: > Let's use your idea to use /multiple table formulae/. Contrasting to > your attempt, I don't mind to go the extra mile and to run a cheap > computation twice for a result already in hand. As a MWE > > ``` > | quantity | value | > | A | 1 | > | B | 3 | > | ratio A/B | *0.33* | > | ratio + 1 | 1.33 | > > #+TBLFM: @4$2 = @2/@3; *%.2f* :: @5$2 = @2/@3 + 1; %.2f > ``` Thanks, that is indeed a working approach. As you suspected, I would go an extra mile or ten to avoid repeating formulae. ;) Have fun and stay safe, Jarmo