emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: RCY <recif@yahoo.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: OM <emacs-orgmode@gnu.org>
Subject: Re: Spreadsheet row formula
Date: Sun, 8 Jan 2012 11:12:15 -0500	[thread overview]
Message-ID: <CAD_Xbc5vWtLZ2Y6Avh=Z1iz6JvEZKOqj9Uxx6gU=SEtvHwjD=g@mail.gmail.com> (raw)
In-Reply-To: <CALn3zoiR5zENp-Ho=9eMRYVFjgbjvE-oxMTACkDTVyt57uUQ-w@mail.gmail.com>

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

Hi,
 Sorry not to be clearer.
I would like to implement the formula for only one row. So entering the
first row shown below and implementing the formula with only B entered in
the first column in the second row gives the rest of the second row.

 |A|2|3|4|
 |B|4|6|8|

Your suggestion almost does what I want, except that it applies the formula
to every row. I would like to apply different row formulas to succeeding
rows.
Also I was not clear about the syntax you used, does <<$<< exclude the
first column and >$> indicate up to the last column?
I tried to modify your formula to restrict it to the second row:
@2<<$<<..@2>$> = 2 * @-1
But that did not work.

Thanks.

On Sun, Jan 8, 2012 at 10:51 AM, Michael Brand
<michael.ch.brand@gmail.com>wrote:

> Hi RCY
>
> Do you want to do this?:
>
> | A | 2 |  3 |  4 |
> | B | 4 |  6 |  8 |
> | C | 8 | 12 | 16 |
> #+TBLFM: @<<$<<..@>$> = 2 * @-1
>
>
> Michael
>

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

  reply	other threads:[~2012-01-08 16:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 15:39 Spreadsheet row formula RCY
2012-01-08 15:51 ` Michael Brand
2012-01-08 16:12   ` RCY [this message]
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_Xbc5vWtLZ2Y6Avh=Z1iz6JvEZKOqj9Uxx6gU=SEtvHwjD=g@mail.gmail.com' \
    --to=recif@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.ch.brand@gmail.com \
    /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).