From: Carsten Dominik <dominik@science.uva.nl>
To: "Sullivan, Gregory (US SSA)" <gregory.sullivan@baesystems.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: simple spreadsheet question - hlines affecting formulas
Date: Sun, 19 Oct 2008 11:23:12 +0200 [thread overview]
Message-ID: <866870FD-69AB-44EE-8E07-0BD35FB6B995@uva.nl> (raw)
In-Reply-To: <73kku8$6ti3h@dmzms99901.na.baesystems.com>
Relative row specifications do not cross horizontal separator lines,
this is documented in the manual.
- Carsten
On Oct 17, 2008, at 11:00 PM, Sullivan, Gregory (US SSA) wrote:
> The following spreadsheet behaves as expected, and every time I hit
> C-c* on the "Total" row, the formula recalculates to 0.4
>
> | Name | Percent |
> | Foo | .1 |
> | Bar | .3 |
> | Total | 0.4 |
> #+TBLFM: @4$2=vsum(@2..@-1)
>
> The following spreadsheet is exactly the same, and has exactly the
> same formula for cell @4$2, except that I've added horizontal
> lines. I thought horizontal lines are ignored during calculations,
> but now whenever I hit C-c* on the "Total" row, the vsum seems to
> include the value of @4$2, which I expected would be left out of the
> "@2..@-1" range.
>
>
> |-------+---------|
> | Name | Percent |
> |-------+---------|
> | Foo | .1 |
> |-------+---------|
> | Bar | .3 |
> |-------+---------|
> | Total | 2.8 |
> |-------+---------|
> #+TBLFM: @4$2=vsum(@2..@-1)
>
>
> Is this a bug?
> Thanks.
>
> --Greg
> --
> Gregory T. Sullivan, Ph.D.
> BAE Systems Advanced Information Technologies
> 6 New England Executive Park, Burlington, MA 01803
> 781-262-4553 (office), 978-430-3461 (cell)
> gregory.sullivan@baesystems.com
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-10-19 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 21:00 simple spreadsheet question - hlines affecting formulas Sullivan, Gregory (US SSA)
2008-10-19 9:23 ` Carsten Dominik [this message]
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=866870FD-69AB-44EE-8E07-0BD35FB6B995@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=gregory.sullivan@baesystems.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).