all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luca Ferrari <fluca1978@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: table formula for the second last row
Date: Mon, 24 Jul 2023 09:21:18 +0200	[thread overview]
Message-ID: <CAKoxK+78O_N3eiMxdO_MKcm=2h7fVaxoHBhbfnRRg8r3Dtih8g@mail.gmail.com> (raw)

Hi all,
I've a table that is keep growing, and in the end I've added the
following to formulas:

#+TBLFM: @>$3=vsum(@3..@-1)
#+TBLFM: @>$3=round( vsum(@3..@-2)/60 )

but both overwrite the last row of the third column, while I would
like the former to be on the second last row.
Apparently I'm not able to understand how to do @> - 1, and I don't
want to place a fixed row number since the table will add new rows
over the time.
Any help is appreciated.

Thanks,
Luca


             reply	other threads:[~2023-07-24  7:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  7:21 Luca Ferrari [this message]
2023-07-24  7:38 ` table formula for the second last row Ihor Radchenko

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoxK+78O_N3eiMxdO_MKcm=2h7fVaxoHBhbfnRRg8r3Dtih8g@mail.gmail.com' \
    --to=fluca1978@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.