Skip to content

Instantly share code, notes, and snippets.

@FernandoBasso
Last active November 30, 2016 22:19
Show Gist options
  • Save FernandoBasso/4ce20a4bf5afb9294c4fe3934d0f1c9a to your computer and use it in GitHub Desktop.
Save FernandoBasso/4ce20a4bf5afb9294c4fe3934d0f1c9a to your computer and use it in GitHub Desktop.
An example of a formula to alway update the total time in an org-mode table/spreadsheet.
| Date | Time Studied |
|------------------+--------------|
| <2016-11-22 Tue> | 02:30 |
| <2016-11-23 Wed> | 01:00 |
| <2016-11-25 Fri> | 02:00 |
| <2016-11-30 Wed> | 02:00 |
| | |
| | |
| | |
| ... | |
| Total Time | 07:30:00 |
#+TBLFM: @>$2=vsum(@2..@-1);T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment