emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: OSiUX <xuiso@osiux.com.ar>
To: emacs-orgmode@gnu.org
Subject: relative row reference in table formula
Date: Thu, 1 Mar 2012 11:01:39 -0300	[thread overview]
Message-ID: <20120301140139.GC7899@merlot.gcoop.coop> (raw)

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

is possible to define the reference to the last row of the following @II+$3, to avoid
having to change the number of row (@4$3)?

in this example does not calculate:

  | date             | item          |    cost |
  |------------------+---------------+---------|
  | [2012-03-01 jue] | item 1        |   30.00 |
  | [2012-03-01 jue] | item 2        |   20.00 |
  |------------------+---------------+---------|
  |                  |               |   30.00 |
  #+TBLFM: @II+$3=vsum(@I..@II);%0.2f

thanks!

--

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE
  http://osiux.com http://wiki.buenosaireslibre.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2012-03-01 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 14:01 OSiUX [this message]
2012-03-01 16:54 ` relative row reference in table formula Juan Pechiar

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=20120301140139.GC7899@merlot.gcoop.coop \
    --to=xuiso@osiux.com.ar \
    --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).