From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: blank cells in ses range
Date: Sat, 27 Nov 2004 22:08:46 GMT [thread overview]
Message-ID: <jwvr7mf6j8u.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: kx9sm6wmi2c.fsf@panix5.panix.com
> I'm having difficulty understanding how to eliminate "empty" or "blank"
> cells when performing a simple sum calculation on a range in
> ses21-031130, and I would be very grateful for any assistance.
> What I would like is the sum of, say, Column "E", which has rows 1 - 10,
> of which approx. half are empty.
> E
> 1 41
> 2 11
> 3
> 4 9
> 5
> 6 20
> 7
> 8
> 9 15
> 10 96
> What I would like is for E10 to be (apply '+ (ses-range E1 E9)), with
> the empty cells simply eliminated from the calculation. I can't figure
> out how to make (ses+ &rest ARGS) work with the range calculation.
Have you tried (apply 'ses+ (ses-range E1 E9)) ?
Stefan
next prev parent reply other threads:[~2004-11-27 22:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-26 21:11 blank cells in ses range rb
2004-11-27 17:32 ` Alan Mackenzie
2004-11-27 21:49 ` rb
2004-11-27 22:08 ` Stefan Monnier [this message]
2004-11-27 23:52 ` rb
2004-11-28 0:54 ` rb
2004-11-29 15:05 ` Stefan Monnier
2004-11-29 17:05 ` Jonathan Yavner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr7mf6j8u.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.