emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: RCY <recif@yahoo.com>
To: OM <emacs-orgmode@gnu.org>
Subject: Spreadsheet row formula
Date: Sun, 8 Jan 2012 10:39:38 -0500	[thread overview]
Message-ID: <CAD_Xbc4_ZvGe70hho26jZngiQsWumLxFdXmzm_TZ6X80ruvc5A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

In the following table I am trying to implement a row formula for each cell
to be a multiple of the corresponding cell in a preceding row, but several
variations I tried do not work:

| A    | 2          | 3          | 4            |
| B    | [4, 6, 8] | [4, 6, 8] | [4, 6, 8] |
| C    | [4, 6, 8] | [4, 6, 8] | [4, 6, 8] |
| 2 A |           4 |         6  |           8 |
#+TBLFM: @2$2..@2$4=2*@1$2..@1$4::@3$2..@3$4=2*(@1$2..@1$4)



What I would like to get, without having to repeat the formula for each
cell in the row is:
|B|4|6|8|

It seems that this should be fairly simple to do. I am using the latest git
version of orgmode with emacs 24.0.50
Thanks for any suggestions.

[-- Attachment #2: Type: text/html, Size: 734 bytes --]

             reply	other threads:[~2012-01-08 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 15:39 RCY [this message]
2012-01-08 15:51 ` Spreadsheet row formula Michael Brand
2012-01-08 16:12   ` RCY
2012-01-08 16:23     ` Michael Brand
2012-01-08 16:37       ` RCY

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://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAD_Xbc4_ZvGe70hho26jZngiQsWumLxFdXmzm_TZ6X80ruvc5A@mail.gmail.com \
    --to=recif@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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 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).