all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sullivan, Gregory \(US SSA\)" <gregory.sullivan@baesystems.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: simple spreadsheet question - hlines affecting formulas
Date: Fri, 17 Oct 2008 17:00:28 -0400	[thread overview]
Message-ID: <73kku8$6ti3h@dmzms99901.na.baesystems.com> (raw)

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 

             reply	other threads:[~2008-10-17 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 21:00 Sullivan, Gregory (US SSA) [this message]
2008-10-19  9:23 ` simple spreadsheet question - hlines affecting formulas 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='73kku8$6ti3h@dmzms99901.na.baesystems.com' \
    --to=gregory.sullivan@baesystems.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 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.