From: Michael Brand <michael.ch.brand@gmail.com>
To: news1142@karl-voit.at
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Help on spreadsheet/calc references and improvements
Date: Sat, 5 Oct 2013 17:16:27 +0200 [thread overview]
Message-ID: <CALn3zogFRNTkxuryY-FU9aDNJF6iV+f92ez2+g1P8F9Xp08k1g@mail.gmail.com> (raw)
In-Reply-To: <2013-10-05T16-39-57@devnull.Karl-Voit.at>
Hi Karl
On Sat, Oct 5, 2013 at 4:49 PM, Karl Voit <devnull@karl-voit.at> wrote:
> Feel free to make suggestions how to overcome my lack of knowledge
You may want to look at the example "$3 = remote(FOO, @@#$2)" in the
Org manual, then it becomes quite simple.
> #+NAME: Data23vert
> | Descr+ | Data1+ | Data2+ |
> |--------+--------+--------|
> | foo | 12 | 10 |
> | bar | 22 | 24 |
> | baz | 16 | 17 |
> |--------+--------+--------|
> | sum | 50 | 51 |
>
> #+NAME: Calc23vert-WISH
> | Descr | Data2 | Double |
> |-------+-------+---------|
> | foo | 10 | 20 |
> | bar | 24 | 48 |
> | baz | 17 | 34 |
> |-------+-------+---------|
> | sum | 51 | 102 |
> #+TBLFM: FIXXME
#+NAME: Data23vert
| Descr+ | Data1+ | Data2+ |
|--------+--------+--------|
| foo | 12 | 10 |
| bar | 22 | 24 |
| baz | 16 | 17 |
|--------+--------+--------|
| sum | 50 | 51 |
| Descr | Data2 | Double |
|-------+-------+--------|
| foo | 10 | 20 |
| bar | 24 | 48 |
| baz | 17 | 34 |
|-------+-------+--------|
| sum | 51 | 102 |
#+TBLFM: $2 = remote(Data23vert, @@#$3) :: $3 = 2 * remote(Data23vert, @@#$3)
> #+NAME: Data23horiz
> | Descr+ | foo | bar | baz | sum |
> |--------+-----+-----+-----+-----|
> | Data1+ | 12 | 22 | 16 | 50 |
> | Data2+ | 10 | 24 | 17 | 51 |
>
> #+NAME: Calc23horiz-WISH
> | Descr | foo | bar | baz | sum |
> |---------+-----+-----+-----+-----|
> | Data2 | 10 | 24 | 17 | 51 |
> | Double | 20 | 48 | 34 | 102 |
> #+TBLFM: FIXXME
#+NAME: Data23horiz
| Descr+ | foo | bar | baz | sum |
|--------+-----+-----+-----+-----|
| Data1+ | 12 | 22 | 16 | 50 |
| Data2+ | 10 | 24 | 17 | 51 |
| Descr | foo | bar | baz | sum |
|--------+-----+-----+-----+-----|
| Data2 | 10 | 24 | 17 | 51 |
| Double | 20 | 48 | 34 | 102 |
#+TBLFM: @2$2..@2$5 = remote(Data23horiz, @3$$#) :: @3$2..@3$5 = 2 *
remote(Data23horiz, @3$$#)
Michael
next prev parent reply other threads:[~2013-10-05 15:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-05 14:49 Help on spreadsheet/calc references and improvements Karl Voit
2013-10-05 15:16 ` Michael Brand [this message]
2013-10-05 16:08 ` Karl Voit
2013-10-05 16:44 ` Michael Brand
2013-10-06 11:30 ` Karl Voit
2013-10-06 17:03 ` Michael Brand
2013-10-06 18:31 ` Karl Voit
2013-10-06 19:38 ` Michael Brand
2013-10-06 20:06 ` Karl Voit
2013-10-06 20:51 ` Michael Brand
2013-10-18 19:07 ` Michael Brand
2013-10-23 15:12 ` Michael Brand
2013-10-24 6:18 ` Carsten Dominik
2013-10-24 20:47 ` Michael Brand
2013-10-25 10:56 ` Nicolas Goaziou
2013-10-25 13:30 ` Carsten Dominik
2013-10-25 17:03 ` Nicolas Goaziou
2013-10-25 13:31 ` Carsten Dominik
2013-10-30 17:59 ` Michael Brand
2013-11-13 17:27 ` Michael Brand
2013-11-13 17:34 ` Bastien
2013-11-13 19:42 ` Michael Brand
2013-11-13 23:21 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALn3zogFRNTkxuryY-FU9aDNJF6iV+f92ez2+g1P8F9Xp08k1g@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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.