emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gabor Maroti <marotig@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Spreadsheet: Last row in ranges
Date: Fri, 13 Mar 2009 01:09:52 +0100	[thread overview]
Message-ID: <49B9A450.40307@gmail.com> (raw)

Dear All,

A quick spreadsheet question.  I just wanted the compute the sum of an
entire column by using

| 1 |   |
| 2 |   |
| 3 |   |
#+TBLFM: @1$2=vsum(@1$1..$LR1)

It doesn't do the trick (neither in v6.24a nor in v6.24c): the value of
@1$2 is 3, 12, 29, 120, etc., after multiple application of the TBLFM
line.  Thus it looks to me that the $LR1 syntax is not really welcome in
ranges.  Is it so?

Anyway, is it possible to compute the sum of a column apart from the
slightly cumbersome vsum(@1$1..@3$1)?

Thanks,
G.

             reply	other threads:[~2009-03-13  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13  0:09 Gabor Maroti [this message]
2009-03-13 16:59 ` Spreadsheet: Last row in ranges Carsten Dominik

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=49B9A450.40307@gmail.com \
    --to=marotig@gmail.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).