emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] date calculation in org table


From: The Dude
Subject: Re: [O] date calculation in org table
Date: Thu, 23 May 2013 09:51:40 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (darwin)

-> Christian Moe writes:

> Hi, Dude,

> Not quite sure why that doesn't work (nor gives an error message about
> trying to set the same cell). However, it will work if you specify the
> cell range:

>> @4$4=$sdate + $3::address@hidden
>                     ^^   
>   @4$4=$sdate + $3::@address@hidden@-1$4+$3
>                     ^^^^^^^^^^^

Yep, that works perfectly.  The only drawback is when I have to add a
new row etc. but I can live with that.  Thanks!

> BTW, it's OK to omit the reference to the same column, so you can save
> two characters:

>   @4$4=$sdate + $3::@address@hidden@-1$4+$3
>                                    ^^
>   @4$4=$sdate + $3::@address@hidden@-1+$3 

Got it.

> Yours,
> Christian

cheers
-- 
-dude

Too brief? Here's why! http://emailcharter.org




reply via email to

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