From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Bolduc Subject: monthly budget with year summary using tables Date: Wed, 2 Jan 2013 14:21:12 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b603d18734a1a04d2532774 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqTsf-0005JZ-AC for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:21:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqTsc-00042G-8M for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:21:37 -0500 Received: from mail-ea0-f181.google.com ([209.85.215.181]:50679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqTsc-00041k-1G for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:21:34 -0500 Received: by mail-ea0-f181.google.com with SMTP id k14so6086116eaa.40 for ; Wed, 02 Jan 2013 11:21:32 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --047d7b603d18734a1a04d2532774 Content-Type: text/plain; charset=ISO-8859-1 I would like to move my budget from MS Excel to Org-Mode. I currently have one Excel sheet per month with all the transactions as well as a summary sheet that uses sumif functions. Assuming the following format for the monthly table: #+tblname: january | date | transaction | amount | category | |------+-------------+--------+-----------| | 01 | iga | 50 | groceries | | 01 | echo | 30 | car | | 02 | iga | 47 | groceries | How can I get the following summary table? | category | january | february | |-----------+---------+----------| | groceries | 97 | | | car | 30 | | I found this post on the mailing list that suggest to use babel: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22736.html However, I need help to understand how I can put the resulting sums inside the summary table. Thanks, Carl --047d7b603d18734a1a04d2532774 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I would like to move my budget from MS Excel to Org-Mode. = I currently have one Excel sheet per month with all the transactions as wel= l as a summary sheet that uses sumif function= s.

Assuming the following format for the monthly table:

#+tblname: january
| da= te | transaction | amount | category =A0|
|------+-------------+--------= +-----------|
| =A0 01 | iga =A0 =A0 =A0 =A0 | =A0 =A0 50 |= groceries |
| =A0 01 | echo =A0 =A0 =A0 =A0| =A0 =A0 30 | car =A0 =A0 = =A0 |
| =A0 02 | iga =A0 =A0 =A0 =A0 | =A0= =A0 47 | groceries |

How can I get the following summary table?

| category =A0| january | february |
|-----------+---------+----------|
| grocer= ies | =A0 =A0 =A097 | =A0 =A0 =A0 =A0 =A0|
| car =A0 =A0 =A0 | =A0 =A0 = =A030 | =A0 =A0 =A0 =A0 =A0|
=A0
I found this post on the mailing lis= t that suggest to use babel:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22736.html

Howe= ver, I need help to understand how I can put the resulting sums inside the = summary table.

Thanks,
Carl
--047d7b603d18734a1a04d2532774--