emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [SOLVED] (was: org-table-eval-formula for rows?)
Date: Wed, 16 Jun 2021 11:35:15 +0200	[thread overview]
Message-ID: <874kdykv8s.fsf@mat.ucm.es> (raw)
In-Reply-To: 87fsxil1uc.fsf@mat.ucm.es

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi

> I know it is perfectly possible to have org-table-eval-formula for
> columns, however sometimes I have tables with very many columns that are
> difficult to read and even org-table-toggle-column-width does not help.


> That is why I would like to transpose the table but then there seems no
> equivalent of org-table-eval-formula for rows?

> I can only perform such operation of a cell as in the following example

> | result1 | result2 |
> |---------+---------|
> |      14 |       5 |
> |       3 |       5 |
> |       4 |      19 |
> |       6 |       3 |
> |---------+---------|
> |      27 |         |

> #+TBLFM: @6$1=vsum(@I$1..@II$1)

I did not think when I wrote this

| result1 | result2 | result3 |
|---------+---------+---------|
|      14 |       5 |       1 |
|       3 |       5 |       3 |
|       4 |      19 |       4 |
|       6 |       3 |       8 |
|---------+---------+---------|
|      27 |      32 |      16 |
#+TBLFM: @6=vsum(@I..@II)

Is the solution, of course

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-06-16  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16  7:12 org-table-eval-formula for rows? Uwe Brauer
2021-06-16  9:35 ` Uwe Brauer [this message]
2021-06-16 11:40   ` insert @6=vsum(@I..@II) interactively HOWTO? Uwe Brauer

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=874kdykv8s.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).