help-gnu-emacs
[Top][All Lists]
Advanced

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

Problem with sum function in table in org-mode


From: Cecil Westerhof
Subject: Problem with sum function in table in org-mode
Date: Thu, 07 Jun 2007 07:18:49 +0200
User-agent: KNode/0.8.0

I have the following table in org-mode:

|--------+------------------------+-------+----------|
| client |                  hours | tarif |   amount |
|--------+------------------------+-------+----------|
| A      |                  12.50 |    75 |   937.50 |
| B      |                  16.00 |    85 |  1360.00 |
| C      |                  73.50 |   100 |  7350.00 |
| D      |                  13.50 |   125 |  1687.50 |
|--------+------------------------+-------+----------|
| Total  | :=vsum(@II..@III);%.2f |       | 11335.00 |
|--------+------------------------+-------+----------|
#+TBLFM: $4=$2*$3;%.2f::@6$4=vsum(@II..@III);%.2f

The total in the amount column works without a problem, but in the hours
column it does not work. What is going wrong here?




reply via email to

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