Hello, Karl Voit <devn...@karl-voit.at> writes:
> * Michael Welle <mwe012...@gmx.net> wrote: [...] > ... which is working: > > | time [h:m:s] | value | hours [float] | product | > |--------------+---------+---------------+-----------| > | 09:15:00 | 2.54321 | 9.25 | 23.524693 | > > #+TBLFM: $4=$2*$3::@2$3='(org-time-string-to-hours $1) > > However, when I try to calculate the product in one step, I get an error: > > | time [h:m:s] | value | product | > |--------------+---------+---------| > | 09:15:00 | 2.54321 | #ERROR | > > #+TBLFM: @2$3='(* $2 (org-time-string-to-hours $1)) > > When I replace "$2" in TBLFM with an integer value, it works. > > How can I calculate the product in /one/ step? chapter 3.5.3 of Org's info manual might be of interest here. I haven't fully 'inhaled' it, but like this should work: #+TBLFM: @2$3='(* $2 (org-time-string-to-hours "$1"));L Regards hmw