emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* questions about table mode and spreadsheets
@ 2010-09-06 13:38 Inquisitive Scientist
  2010-09-06 22:44 ` Christian Moe
  0 siblings, 1 reply; 5+ messages in thread
From: Inquisitive Scientist @ 2010-09-06 13:38 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]

Dear Experts,

I am becoming very fond of the table/spreadsheet in org-mode and trying to
use it more extensively. I have tried digging through the docs but am still
having trouble with some things:

  1. Is there a way to dynamically add a new row to a table using a table
formula? For example, a variety of org-mode things will produce a table as
output and allow me to specify some formulas. I'd like to add a formula that
says something like "create a row at the bottom that sums column 3" and have
that be a new row that gets added. Any thoughts?

  2. How do I compute the sum of a column only if a corresponding row
matches some condition? For example, how do I compute the sum of numbers in
column a for which the name in column "name" is "bar"? For example, I should
get 7 for the sum in column a in the table below:

| name | a | b | c |
|------+---+---+---|
| foo  | 1 | 2 | 3 |
| bar  | 3 | 2 | 1 |
| bar  | 4 | 5 | 6 |
|------+---+---+---|

Thanks,
-I.S.

[-- Attachment #1.2: Type: text/html, Size: 1059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-15 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-06 13:38 questions about table mode and spreadsheets Inquisitive Scientist
2010-09-06 22:44 ` Christian Moe
2010-09-07  0:56   ` Juan
2010-09-07  9:20     ` Christian Moe
2010-09-15 12:08       ` Inquisitive Scientist

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).