From: Juan Pechiar <juan@pechiar.com>
To: qkbeyond@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: org table spreadsheet problem
Date: Mon, 28 Nov 2011 14:55:37 -0200 [thread overview]
Message-ID: <20111128165537.GA12790@soloJazz.com> (raw)
In-Reply-To: <m3pqgcbt3e.fsf@gmail.com>
Hi,
Please check the following thread on a similar problem:
http://thread.gmane.org/gmane.emacs.orgmode/29877/focus=29920
There is a definition for 'vsumif' function you can use to add
conditionally.
Regards,
.j.
On Mon, Nov 28, 2011 at 03:32:05PM +0800, qkbeyond@gmail.com wrote:
> hi,all.
> I have a orgtbl like the following,
>
> | # | 2 | a |
> | # | -2 | abc |
> | # | 5 | abc |
> | # | -3 | a |
> |---+----+-----|
> | | | |
> | ^ | x | |
>
> and i want to sum the second column which the corresponding third
> column's values="abc" to variable x. (in this example $x = -2+5 = 3).
> what Formula syntax for Calc/Lisp can achieve this,please. thanks.
prev parent reply other threads:[~2011-11-28 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-28 7:32 org table spreadsheet problem qkbeyond
2011-11-28 16:55 ` Juan Pechiar [this message]
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=20111128165537.GA12790@soloJazz.com \
--to=juan@pechiar.com \
--cc=emacs-orgmode@gnu.org \
--cc=qkbeyond@gmail.com \
/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).