emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Bastien <bzg@altern.org>,
	nicholas.dokos@hp.com, emacs-orgmode List <emacs-orgmode@gnu.org>
Subject: Re: Table rows and ranges as LHS of formulas
Date: Wed, 02 Mar 2011 13:54:09 -0500	[thread overview]
Message-ID: <24402.1299092049@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Carsten Dominik <carsten.dominik@gmail.com> of "Wed, 02 Mar 2011 18:35:40 +0100." <907667C9-5D38-4DF4-B0CE-BEFEFE40A192@gmail.com>

Carsten Dominik <carsten.dominik@gmail.com> wrote:

> 
> On 2.3.2011, at 18:21, Bastien wrote:
> 
> > Hi Carsten,
> > 
> > Carsten Dominik <carsten.dominik@gmail.com> writes:
> > 
> >> Bastien, please let me know if you want to have this integrated
> >> before the release, then I will do so.
> > 
> > Please go ahead!  This looks like a nice addition, thanks for that.
> 
> I just pushed it.  The patch I pushed contains another small thing:
> you can use @L to mean the last row.  So
> 
>     @L=vsum(@I..II)
> 
> is now a great way to sum columns in the last row. 
> To skip the First column (in case it contains unsummable
> labels or so, use
> 
>    @L$2..@L@8=vsum(@I..II)
> 

Both of these and Christian's multiplication table are great
examples. Thanks!

One nit: symmetry dictates that $L should be the last column, but it
isn't.  Trying @2$2..@L$11 in Christian's example works fine, but
@2$2..@L$L changes the first column to all zeroes (not sure why).

Thanks,
Nick

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-03-02 18:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 14:28 Table rows and ranges as LHS of formulas Carsten Dominik
2011-03-01 15:10 ` Carsten Dominik
2011-03-02 16:11 ` Christian Moe
2011-03-02 16:46   ` Bernt Hansen
2011-03-02 17:31   ` Carsten Dominik
2011-03-02 23:09     ` Christian Moe
2011-03-02 23:16       ` Carsten Dominik
2011-03-02 17:21 ` Bastien
2011-03-02 17:35   ` Carsten Dominik
2011-03-02 18:54     ` Nick Dokos [this message]
2011-03-02 20:00       ` Suvayu Ali
2011-03-02 22:57       ` Carsten Dominik
2011-03-02 23:08         ` Samuel Wales
2011-03-03  4:18         ` Nick Dokos
2011-03-03  8:28           ` Bastien
2011-03-03 12:23             ` Carsten Dominik
2011-03-03 16:46               ` Bastien
2011-03-03 12:23           ` Carsten Dominik
2011-03-03 21:19           ` Carsten Dominik
2011-03-03 22:01             ` Suvayu Ali
2011-03-03 22:11               ` Nick Dokos
2011-03-03 22:25                 ` Suvayu Ali
2011-03-04  5:41                 ` 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=24402.1299092049@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=bzg@altern.org \
    --cc=carsten.dominik@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).