emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Kowalczyk <jtk@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Org Mode spreadsheet SUMIF
Date: Mon, 8 Mar 2010 12:54:31 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100308T134348-271@post.gmane.org> (raw)

(Apologies if this is a FAQ, a gmane.org search of this list did not return any
matches)

What is the Org Mode spreadsheet formula idiom for a SUMIF function?

The objective is to add up the numeric values for rows matching a tag column:

| 2010-03-01 | 12.2 | foo |
| 2010-03-02 | 11.5 | foo |
| 2010-03-02 | 12.6 | bar |
| 2010-03-03 | 10.2 | foo |

Need a total for foo: 33.9, and bar: 12.6, etc.

I'll probably use a remote table reference for the summary formulas.

Thanks,
Jeff

             reply	other threads:[~2010-03-08 12:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 12:54 Jeff Kowalczyk [this message]
2010-03-08 15:59 ` Org Mode spreadsheet SUMIF William Henney
2010-03-09 18:00   ` Dan Davison

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=loom.20100308T134348-271@post.gmane.org \
    --to=jtk@yahoo.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).