From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: simple spreadsheet question - hlines affecting formulas Date: Sun, 19 Oct 2008 11:23:12 +0200 Message-ID: <866870FD-69AB-44EE-8E07-0BD35FB6B995@uva.nl> References: <73kku8$6ti3h@dmzms99901.na.baesystems.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrUVJ-0004SC-1D for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 05:23:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrUVH-0004RZ-Cm for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 05:23:16 -0400 Received: from [199.232.76.173] (port=32965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrUVH-0004RS-4N for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 05:23:15 -0400 Received: from ik-out-1112.google.com ([66.249.90.177]:5327) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrUVG-000433-S6 for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 05:23:15 -0400 Received: by ik-out-1112.google.com with SMTP id c21so983984ika.2 for ; Sun, 19 Oct 2008 02:23:14 -0700 (PDT) In-Reply-To: <73kku8$6ti3h@dmzms99901.na.baesystems.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Sullivan, Gregory (US SSA)" Cc: Org Mode List 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