emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Remote References to Tables in Included Files.
@ 2013-12-12 14:32 Ian Barton
  2014-01-04 14:19 ` Bastien
  2014-01-04 15:41 ` Michael Brand
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Barton @ 2013-12-12 14:32 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to combine summary data from org tables. Data for each year 
is stored in a separate org file, with a table for each month. I have 
created a file called combined.org, which INCLUDES the org files for 
each of the 12 months.

Can't find remote table "october2012".

examplea.org:

* November.
#+tblname: november2013
|------------------+----------+-----------|
| Date             | Distance | Heading 3 |
|------------------+----------+-----------|
| [2012-11-03 Sat] |    42.70 |           |
| [2012-11-04 Sun] |    31.97 |           |
| Total            |    74.67 |           |
|------------------+----------+-----------|

exampleb.org:

* November.
#+tblname: november2013
|------------------+----------+-----------|
| Date             | Distance | Heading 3 |
|------------------+----------+-----------|
| [2012-11-03 Sat] |    42.70 |           |
| [2012-11-04 Sun] |    31.97 |           |
| Total            |    74.67 |           |
|------------------+----------+-----------|


combined.org:

#+INCLUDE: "./examplea.org"
#+INCLUDE: "./exampleb.org"

* Monthly Totals.

#+tblname: monthly_total_mileage
|-------+----------|
| Month | Distance |
|-------+----------|
| Oct   |          |
| Nov   |          |
|-------+----------|
| Total |          |
|       |          |
|-------+----------|
#+TBLFM: @2$2 = remote(october2012,@2$2)::@3$2 = remote(november2013,@3$2)::


Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-04 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-12 14:32 Remote References to Tables in Included Files Ian Barton
2014-01-04 14:19 ` Bastien
2014-01-04 15:41 ` Michael Brand

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).