[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Spreadsheet error: invalid reference when using @> in range
From: |
Karl Voit |
Subject: |
Re: [O] Spreadsheet error: invalid reference when using @> in range |
Date: |
Wed, 11 Nov 2015 10:47:52 +0100 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
* Nicolas Goaziou <address@hidden> wrote:
> Hello,
Hello Nicolas (again)!
> Karl Voit <address@hidden> writes:
>
>> | | 20 | 21 | 22 | 23 | 24 |
>> | | :=vsum(@3..@>) | | | | |
>> |-----+----------------+----+----+----+----|
>> | | | | | | |
>> |-----+----------------+----+----+----+----|
>> | | 1 | 1 | | | 1 |
>> | Foo | 2 | | | | |
>> | Bar | | | 2 | 3 | |
>> |-----+----------------+----+----+----+----|
>> | | | | | | |
>> |-----+----------------+----+----+----+----|
>> | Bar | | 4 | 1 | | |
>> | Foo | | | 2 | | 2 |
>> | Bar | | | 3 | 5 | |
>> | Foo | | 1 | | | 5 |
>> |-----+----------------+----+----+----+----|
>>
>> I got: Spreadsheet error: invalid reference "vsum(@3..@>)" when I
>> try to apply the formula.
Funny thing: today, it worked so far :-O
>> Bonus question: when I want to apply the formula to @2$2 and *all*
>> table elements rights of it until the last column, is there a way to
>> define this without having five separate formula?
>
> @address@hidden>=vsum(@3..@>)
However, this does not work at my side:
| | 20 | 21 | 22 | 23 | 24 |
| Foo + 2 Bar + Foo + Bar + Foo | 3 | | | | |
|-------------------------------+----+----+----+----+----|
| | | | | | |
|-------------------------------+----+----+----+----+----|
| | 1 | 1 | | | 1 |
| Foo | 2 | | | | |
| Bar | | | 2 | 3 | |
|-------------------------------+----+----+----+----+----|
| | | | | | |
|-------------------------------+----+----+----+----+----|
| Bar | | 4 | 1 | | |
| Foo | | | 2 | | 2 |
| Bar | | | 3 | 5 | |
| Foo | | 1 | | | 5 |
|-------------------------------+----+----+----+----+----|
#+TBLFM: @address@hidden>=vsum(@3..@>)
At least, the error is gone. What might be the cause of the wrong
result?
Thank you for your time!
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github