emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] simple spreadsheet question - hlines affecting formulas


From: Carsten Dominik
Subject: Re: [Orgmode] simple spreadsheet question - hlines affecting formulas
Date: Sun, 19 Oct 2008 11:23:12 +0200

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(@address@hidden)

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 "@address@hidden" range.


|-------+---------|
| Name  | Percent |
|-------+---------|
| Foo   |      .1 |
|-------+---------|
| Bar   |      .3 |
|-------+---------|
| Total |     2.8 |
|-------+---------|
#+TBLFM: @4$2=vsum(@address@hidden)


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)
address@hidden




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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]