emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Russell Adams <RLAdams@AdamsInfoServ.Com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Spreadsheet FR
Date: Fri, 2 Apr 2010 09:49:46 +0200	[thread overview]
Message-ID: <49A58658-88AF-4A88-93E9-1CDB710B08A2@gmail.com> (raw)
In-Reply-To: <20100401214648.GL7262@thinkpad.adamsinfoserv.com>


On Apr 1, 2010, at 11:46 PM, Russell Adams wrote:

> Fellow Org'ers,
>
> I adore the text spreadsheet, however there's one feature Excel
> provides which I don't have in org.
>
> I often use Excel for "lists", where I can sort or narrow the data by
> specific criteria from a larger list.
>
> Would it be feasible to "narrow" a table by criteria on a specific
> field in between separators? Ie: only display those cells in field A
> if they are > 2, or if field B matches "Pick Me!".

This one might be possible - but dangerous for losing data.

>
> A nice feature would be updating the totals at the bottom with only
> the visible data.

I don't think Excel works like this, does it?

>
> Just like the outline folding the goal would be to hide entries that
> don't match, they should still remain.
>
> So for example:
>
> |--------+--------|
> | *Lime* | *Cost* |
> |--------+--------|
> | Y      |      1 |
> | Y      |      2 |
> | Y      |      2 |
> | N      |      3 |
> | N      |      4 |
> | Y      |      5 |
> |--------+--------|
> | Total  |     17 |
> |--------+--------|
> #+TBLFM: @8$2=vsum(@-I..@-II)
>
> I can already sort by Lime or Cost, but if I filtered where Lime =
> "Y", I would have:
>
> |--------+--------|
> | *Lime* | *Cost* |
> |--------+--------|
> | Y      |      1 |
> | Y      |      2 |
> | Y      |      2 |...
> | Y      |      5 |
> |--------+--------|
> | Total  |     10 |
> |--------+--------|
> #+TBLFM: @8$2=vsum(@-I..@-II)
>
> No loss of the lines, on reload or changing the view they would come
> back, but note that the formula at the end didn't consider
> them. Ideally the cell references wouldn't change (the example above
> would break if recalc was hit).
>
> I'm not sure whether this would be cumulative or whether the criteria
> specification would need to allow for multiple logical conditions.
>
> Would anyone else consider this a useful feature? I'm not sure how
> difficult the implementation would be.
>
> Thanks.
>
>
> _______________________________________________
> 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

- Carsten

  reply	other threads:[~2010-04-02  8:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 21:46 Spreadsheet FR Russell Adams
2010-04-02  7:49 ` Carsten Dominik [this message]
2010-04-02  8:16   ` Russell Adams
2010-04-02 13:00     ` Darlan Cavalcante Moreira
2010-04-04  7:01     ` Carsten Dominik
2010-04-04 16:46       ` Xiao-Yong Jin
2010-04-04 20:19         ` Russell Adams
2010-04-05  2:39           ` Xiao-Yong Jin
2010-04-02 14:44   ` Dan Davison
2010-04-02 14:55     ` Russell Adams
2010-04-02 17:09       ` Russell Adams
2010-04-02 20:43     ` Matt Lundin
2010-04-02 14:26 ` Matt Lundin

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=49A58658-88AF-4A88-93E9-1CDB710B08A2@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=RLAdams@AdamsInfoServ.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).