Org-mode mailing list
 help / color / mirror / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: news1142@karl-voit.at
Cc: emacs-orgmode@gnu.org
Subject: Re: Referencing elemts of a table
Date: Tue, 7 Jun 2011 19:22:29 +0200
Message-ID: <BANLkTinVmNhKRbAB7sS0t6RRVDdqG0Rurg@mail.gmail.com> (raw)
In-Reply-To: <2011-06-07T17-53-32@devnull.Karl-Voit.at>

Hi Karl

You need additionally $# from "Field coordinates in formulas" described here:
http://orgmode.org/manual/References.html#References
and Calc vector subscript:
#+TBLFM: @2 = subscr(remote(orgtblA, @2$2..@2$7), $#)

Michael

On Tue, Jun 7, 2011 at 17:55, Karl Voit <devnull@karl-voit.at> wrote:
> I want to define "orgtblB line 2 (row 1 to 6)" should contain the
> values "from orgtblA, last line, row 2 to 7".
>
> I tried
>
>    #+TBLFM: @2=remote(orgtblA,@2$2..@2$7)
>
> and
>
>    #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7)
>
> but that results in a list of 6x 5 values in each field in row 2.
>
> Here is an example of my org-tbl-reference-problem:
> http://paste.grml.org/462/

  reply	other threads:[~2011-06-07 17:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 15:55 Karl Voit
2011-06-07 17:22 ` Michael Brand [this message]
2011-06-08  0:05   ` kinouchou
2011-06-08  3:54     ` Jambunathan K
2011-06-08  4:25     ` Nick Dokos
2011-06-08 12:49   ` Karl Voit
2011-06-08 13:47     ` Michael Brand
     [not found]     ` <devnull@Karl-Voit.at>
2011-06-08 13:49       ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://orgmode.org

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTinVmNhKRbAB7sS0t6RRVDdqG0Rurg@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@karl-voit.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git