[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [the cryptic @@#$7]
From: |
Uwe Brauer |
Subject: |
Re: [the cryptic @@#$7] |
Date: |
Thu, 12 Oct 2023 16:40:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "BB" == Bruno Barbier <brubar.cs@gmail.com> writes:
> Hi Uwe,
> Uwe Brauer <oub@mat.ucm.es> writes:
>> Here is an example where the org-lookup-first method seems to fail
>> #+TBLFM: $3='(org-lookup-first $2 '(remote(Table1A, @I$1..@II$1))
>> '(remote(Table1A, @I$7..@II$7)))::$4='(org-lookup-first $2
>> '(remote(Table2A, @I$1..@II$1)) '(remote(Table2A,
>> @I$7..@II$7)))::$5=vsum($3..$4);f2
> You forgot to update the column numbers: the names to look for are now in
> the column '2', and, the totals are now in column '8'. This should work:
> #+TBLFM: $3='(org-lookup-first $2 '(remote(Table1A, @I$2..@II$2))
> '(remote(Table1A, @I$8..@II$8)))
> #+TBLFM: $4='(org-lookup-first $2 '(remote(Table2A, @I$2..@II$2))
> '(remote(Table2A, @I$8..@II$8)))
> #+TBLFM: $5=vsum($3..$4);f2
Arg 😨
I even tried
#+TBLFM: $3='(org-lookup-first $2 '(remote(Table1A,
@I$1..@II$1))'(remote(Table1A, @I$8..@II$8)))
#+TBLFM:$4='(org-lookup-first $2 '(remote(Table2A, @I$1..@II$1))
'(remote(Table2A, @I$8..@II$8)))
#+TBLFM:$5=vsum($3..$4);f2
So I changed
1. $7-->$8
2. but *not* $1-->$2
Thanks very much
Uwe
--
Warning: Content may be disturbing to some audiences
I strongly condemn Hamas terroristic attack on Israel.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the NATO membership of Ukraine.
I support the EU membership of Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
smime.p7s
Description: S/MIME cryptographic signature
- equivalent of VLOOKUP (in ods) to org-table, Uwe Brauer, 2023/10/08
- Re: equivalent of VLOOKUP (in ods) to org-table, Bruno Barbier, 2023/10/08
- Re: equivalent of VLOOKUP (in ods) to org-table, Uwe Brauer, 2023/10/08
- [the cryptic @@#$7] (was: equivalent of VLOOKUP (in ods) to org-table), Uwe Brauer, 2023/10/08
- Re: [the cryptic @@#$7] (was: equivalent of VLOOKUP (in ods) to org-table), Bruno Barbier, 2023/10/08
- Re: [the cryptic @@#$7], Uwe Brauer, 2023/10/08
- Re: [the cryptic @@#$7], Uwe Brauer, 2023/10/11
- Re: [the cryptic @@#$7], Bruno Barbier, 2023/10/12
- Re: [the cryptic @@#$7],
Uwe Brauer <=
- Re: equivalent of VLOOKUP (in ods) to org-table, Bruno Barbier, 2023/10/08
- Re: equivalent of VLOOKUP (in ods) to org-table, Uwe Brauer, 2023/10/08