From: Cecil Westerhof <cldwesterhof@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Smart vsum
Date: Mon, 15 Nov 2010 13:10:52 +0100 [thread overview]
Message-ID: <87ipzyzt0z.fsf@Compaq.site> (raw)
Until now I did not use org-mode for fancy things. One of the things I
use is the following table:
|---+----------+-----------|
| | activity | time |
|---+----------+-----------|
| * | A | 0@ 10' |
| * | B | 0@ 05' |
| | C | 0@ 05' |
| | D | 0@ 05' |
| | E | 0@ 05' |
|---+----------+-----------|
| # | Totaal | 0.50 |
| ^ | | totalTime |
|---+----------+-----------|
#+TBLFM: $totalTime = deg(vsum(@-II..@-I)); f2
It is just a table with activities and the needed time pro activity.
When there is an asterisk in the first column, that means that the
activity is already done. I would like a little more fancy table that
also displays the time needed for the activities that still have to be
done. Like the following:
|---+----------+-----------|
| | activity | time |
|---+----------+-----------|
| * | A | 0@ 10' |
| * | B | 0@ 05' |
| | C | 0@ 05' |
| | D | 0@ 05' |
| | E | 0@ 05' |
|---+----------+-----------|
| # | Totaal | 0.50 |
| ^ | | totalTime |
| # | Totaal | 0.25 |
| ^ | | restTime |
|---+----------+-----------|
#+TBLFM: $totalTime = deg(vsum(@-II..@-I)); f2
Is this possible? If yes, how would I do this?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
next reply other threads:[~2010-11-15 12:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 12:10 Cecil Westerhof [this message]
2010-11-15 12:40 ` Smart vsum Juan Pechiar
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipzyzt0z.fsf@Compaq.site \
--to=cldwesterhof@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.