Emacs: Org-mode spreadsheet: targeting via hline -



Emacs: Org-mode spreadsheet: targeting via hline -

i'm trying log hours in org mode:

** bob johnson, bob's seo | subject | time | minutes | total hours | |-----------------------------------------------+---------------------------+---------+-------------| | optimization study | 2011/07/11 8-10:00 pm pst | 120 | 2 | | phonecall dicuss study , plan of action | 2011/07/13 5:41 pm | 43 | 0.71666667 | |-----------------------------------------------+---------------------------+---------+-------------| | | | 249 | 4.15 | #+tblfm: $4=@0$-1/60::@6$3=vsum(@i..@ii)

the main problem look above sums total hours:

@6$3=vsum(@i..@ii)

should like:

@||+1$3=vsum(@i..@ii)

so spread sheet grows lastly item in sec lastly column sum total. doesn't work when set way (and +ii, , other ways) however.

any ideas?

thanks!

the closest come relative references alter formula to:

#+tblfm: $4=$-1/60::@>$3=vsum(@i..@ii)

the @0 implied -1.

for sec formula @> means lastly row, long don't add together additional rows below total row results in right place. if add together additional below have adjust number of > signs.

edit:

you can name cell in question doesn't changed regardless: org-manual

|-----------------------------------------------+---------------------------+---------+-------------| | | | 163 | 2.7166667 | | ^ | | total | total | #+tblfm: $4=$-1/60::$total=vsum(@i..@ii)

you need total name both total rows, otherwise minutes won't add together up.

emacs org-mode

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -