From: Inquisitive Scientist <inquisitive.scientist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: questions about table mode and spreadsheets
Date: Mon, 6 Sep 2010 09:38:49 -0400 [thread overview]
Message-ID: <AANLkTi=tOw-ThbhBpFTFA3D6FpARrXRXcs4Cuj6VywMa@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2010-09-06 13:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 13:38 Inquisitive Scientist [this message]
2010-09-06 22:44 ` questions about table mode and spreadsheets Christian Moe
2010-09-07 0:56 ` Juan
2010-09-07 9:20 ` Christian Moe
2010-09-15 12:08 ` Inquisitive Scientist
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=tOw-ThbhBpFTFA3D6FpARrXRXcs4Cuj6VywMa@mail.gmail.com' \
--to=inquisitive.scientist@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 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).