emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Question] Getting cell value and use it in table formula
@ 2024-10-01 14:35 jman
  2024-10-01 15:04 ` tomas
  0 siblings, 1 reply; 4+ messages in thread
From: jman @ 2024-10-01 14:35 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


Hello there,

Let's look at the following table:

----------s---------s----------
| EUR |    USD | Exchange rate |
|-----+--------+---------------|
|  10 |   8.97 |         0.897 |
|  15 | 13.455 |               |
#+TBLFM: $2='(* (string-to-number $1) (string-to-number (org-table-get 2 3)))
----------e---------e----------

I've tried a number of things but this is the only incantation is able to retrieve the value from 
the cell "@2$3" and use it into the table formula.

Is there a cleaner way to retrieve a cell value and use it into a table formula that is a lisp 
expression?

Any suggestion? Thanks.

Best,


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-02  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 14:35 [Question] Getting cell value and use it in table formula jman
2024-10-01 15:04 ` tomas
2024-10-01 20:01   ` jman
2024-10-02  4:16     ` tomas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).