emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-table and formulas
@ 2010-01-11 19:32 Alan Boudreault
  2010-01-13 10:23 ` Sébastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Boudreault @ 2010-01-11 19:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Here's what I'm trying to do (without success) in my spreadsheet:

I have a first table :

#+TBLNAME: table1
| ... |... |.... |...|...

and a second table:

#+TBLNAME: table2
| line_reference | ... |... |.... |...|...

The line_reference is the line number to get some information in the 
table1. So in a cell of the table2, I tried  a formula like: 
remote(table1,@$1$3) ($1 = the line_reference) which of course, didn't work.

then I tried to use elisp: remote(table1,'(concat "@" $1 "$3")') .... 
but no success anyway.

after all, I decided to merge my 2 tables because it looks like I can 
use elisp inside a org function (remote). The last tried formula was: 
'(concat "@" $1 "$3")'  ,($1 = the line_reference). The problem of this 
formula is only that I got the string "@2$3" inside the cell and it's 
not evaluated as a formula.

Could anyone give me some hint to get done what I'm trying to do?

regards,
Alan


-- 
Alan Boudreault
Mapgears
http://www.mapgears.com/ 

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

end of thread, other threads:[~2010-01-13 12:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-11 19:32 org-table and formulas Alan Boudreault
2010-01-13 10:23 ` Sébastien Vauban
2010-01-13 11:14   ` Alan Boudreault
2010-01-13 11:56     ` Stephan Schmitt
2010-01-13 11:59     ` Carsten Dominik
2010-01-13 12:23       ` Alan Boudreault

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).