[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [the cryptic @@#$7]
From: |
Bruno Barbier |
Subject: |
Re: [the cryptic @@#$7] |
Date: |
Thu, 12 Oct 2023 15:21:10 +0200 |
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
Bruno
- 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 <=
- Re: [the cryptic @@#$7], Uwe Brauer, 2023/10/12
- 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