[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with sum function in table in org-mode
From: |
Cecil Westerhof |
Subject: |
Re: Problem with sum function in table in org-mode |
Date: |
Fri, 08 Jun 2007 09:45:59 +0200 |
User-agent: |
KNode/0.8.0 |
carsten.dominik@gmail.com wrote:
> On Jun 7, 7:18 am, Cecil Westerhof <d...@dummy.nl> wrote:
>> I have the following table inorg-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?
>
> Go into the table field with the formula and press either TAB or C-c C-
> c.
That works. I tried 'C-c *' what did work on the other fields, but not on
this one. Well, I have a workaround now. ;=}