emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[join rows] (was: join tables from different files)


From: Uwe Brauer
Subject: [join rows] (was: join tables from different files)
Date: Sun, 07 Jun 2020 17:09:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"t" == tbanelwebmin <tbanelwebmin@free.fr> writes:

Yes you can. Use an org-id

Thanks! Nice!

I have a another question in this context: can I join, say 4 tables, but row wise?

Say I have


#+TBLNAME: RK
#+ATTR_HTML: :border 2 :rules all :frame border
| met | Q1 | Q2 |  Q3 | total |
|-----+----+----+-----+-------|
| RK  |  1 |  1 | 0.5 |   2.5 |
#+TBLFM: $5=$2+$3+$4



#+TBLNAME: SVD
#+ATTR_HTML: :border 2 :rules all :frame border
 | met | Q1: | Q2 | Q3 | total |
 |-----+-----+----+----+-------|
 | SVD | 0.5 |  1 |  1 |   2.5 |
#+TBLFM: $5=$2+$3+$4;f1

#+TBLNAME: MIN
#+ATTR_HTML: :border 2 :rules all :frame border
| met | Q1 |  Q2 | total |
|-----+----+-----+-------|
| MIN |  2 | 0.5 |   2.5 |
#+TBLFM: $4=$2+$3


#+TBLNAME: BDF
#+ATTR_HTML: :border 2 :rules all :frame border
| met |   Q1 |   Q2 | total |
|-----+------+------+-------|
| MIN | 0.75 | 1.75 |   2.5 |
#+TBLFM: $4=$2+$3

Since they don't have the same amount of columns, I'd like to join the 4 tables like this

#+TBLNAME: Total1
#+ATTR_HTML: :border 2 :rules all :frame border
| met |  Q1 | Q2 |  Q3 | total |
|-----+-----+----+-----+-------|
| RK  |   1 |  1 | 0.5 |   2.5 |
|-----+-----+----+-----+-------|
| SVD | 0.5 |  1 |   1 |   2.5 |
#+TBLFM: $5=$2+$3+$4;f1

#+TBLNAME: Total2
#+ATTR_HTML: :border 2 :rules all :frame border
| met |   Q1 |   Q2 | total |
|-----+------+------+-------|
| MIN |    2 |  0.5 |   2.5 |
|-----+------+------+-------|
| MIN | 0.75 | 1.75 |   2.5 |
#+TBLFM: $4=$2+$3

Is this possible?

regards

Uwe Brauer

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]