emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using last row in remote table references


From: Michael Brand
Subject: Re: [O] Using last row in remote table references
Date: Wed, 11 Jan 2012 18:34:51 +0100

Hi Phil

On Tue, Jan 10, 2012 at 14:39, Phil (Philip) Mason
<address@hidden> wrote:
> Should I be able to use @> in references to remote tables?

Yes, this issue has been resolved by Carsten with
release_7.7-420-g1432e4b

> Is there a syntax I should be using if I want to get all the entries
> in a table below a certain row without explicitly entering the
> number of the last row?

The general solution for a Calc formula is e. g. with subvec as I
described here:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00562.html
and in a similar sense as I described for subscr in the subsection
"Dynamic variation of ranges" here:
http://orgmode.org/worg/org-hacks.html#field-coordinates-in-formulas

The general solution for a Lisp formula is e. g. with calc-subvector I
guess.

The following simpler solution is only possible when the range is
relative to the field where the formula is evaluated in and when the
offset to the range border is static:

|---+-----|
| a | abc |
| b | bcd |
| c | cde |
| d |     |
| e |     |
|---+-----|
#+TBLFM: @<$2..@>>>$2 = '(concat @address@hidden)

With a remote table you can not use the simple solution.

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]