emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Conditional in table formula with times
Date: Mon, 24 Feb 2014 14:32:09 +0000	[thread overview]
Message-ID: <871tys1t06.fsf@ucl.ac.uk> (raw)
In-Reply-To: <871tywlxci.fsf@hornfels.zedat.fu-berlin.de> (Loris Bennett's message of "Fri, 21 Feb 2014 08:49:01 +0100")

Hi,

Have you tried the numeric equivalent of your times?  I believe the if
expression is interpreted as returning a number of seconds.  The
following table format line works for me:

#+TBLFM: $4=$3-$2;T::$5=if($4 > 0,29880,0);T::$6=$4-$5;T

HTH,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-585-g5f0ca0

  parent reply	other threads:[~2014-02-24 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21  7:49 Conditional in table formula with times Loris Bennett
2014-02-21  8:50 ` Sebastien Vauban
2014-02-21 12:34   ` Loris Bennett
2014-02-21 12:40     ` Sebastien Vauban
2014-02-21 12:56       ` Loris Bennett
2014-02-21 13:22         ` Sebastien Vauban
2014-02-24 14:32 ` Eric S Fraga [this message]
2014-02-24 14:53   ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tys1t06.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).