[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FR] Auto-adjusting table formulas in org-table-transpose-table-at-point
From: |
Ihor Radchenko |
Subject: |
[FR] Auto-adjusting table formulas in org-table-transpose-table-at-point |
Date: |
Sat, 07 Oct 2023 09:55:53 +0000 |
Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
>
> Starting with this
> ...
> #+TBLFM: $3=($2+1)-$1
> #+end_src
>
> org-table-transpose-table-at-point leads to
> ....
> #+TBLFM: $3=($2+1)-$1
> #+end_src
>
> However the correct formula should have been
> ...
> #+TBLFM: @4$2..@4$13=@3+1-@2
> #+end_src
>
>
> Does there exist such a command (Scalc and I presume excel allow to transpose
> a table and convert the corresponding formula)
No, we do not have such command - `org-table-transpose-table-at-point'
does not currently do any formula adjustments.
Patches welcome!
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>