emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Using constants in columns


From: Guido Van Hoecke
Subject: [O] Using constants in columns
Date: Fri, 16 Oct 2015 14:39:51 +0200

Hi,

Is there a way to use a constant directly in a table column?
I need to have a table where one of the columns can have one out of three possible values and wanted to use constants for this.
From the following minimal example it appears that constants are only possible in formulas, or am I missing something?

#+CONSTANTS: vat=1.21
| 12.34 | $vat | #ERROR | 14.9314 |
#+TBLFM: $3=$1*$2::$4=$1*$vat
 
Using the $vat constant directly from the content of column 3 produces an error, using it from a formula works fine.

If this is the way it is, I'll have to write a formula for each row of the column, that'd be a real pitty...

Please advise

TIA, Guido

reply via email to

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