emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: How to get sum from remote table + how to put in bold?
Date: Mon, 07 Dec 2015 22:37:31 +0100	[thread overview]
Message-ID: <87twnukkis.fsf@gmx.us> (raw)
In-Reply-To: 864mfunhaj.fsf@example.com

Hi,

I didn't read OP.

Fabrice Niessen <news@pirilampo.org> writes:

> Any idea how to solve my problem #2: get the computed amount in bold
> and/or in another color and/or in bigger font?

Cf. the manual you can use printf syntax,

     http://orgmode.org/manual/Formula-syntax-for-Calc.html#Formula-syntax-for-Calc

Thus,

| /Sub-total/  |   6600.00 | \EUR   |
|--------------+-----------+-----|
| /Tax @ 21%/  |   1386.00 | \EUR   |
|--------------+-----------+-----|
| *Amount Due* | *7986.00* | *\EUR* |
#+TBLFM: @1$2=vsum(remote(items,@3$7..@4$7));%.2f::@2$2=@1*0.21;%.2f::@3$2=vsum(@1..@-1);*%.2f*

Hope this was what you were after.
Rasmus

-- 
Together we will make the possible totalllly impossible!

      reply	other threads:[~2015-12-07 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 14:16 How to get sum from remote table + how to put in bold? Fabrice Niessen
2015-12-07 18:39 ` Eric S Fraga
2015-12-07 20:19   ` Fabrice Niessen
2015-12-07 21:37     ` Rasmus [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87twnukkis.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).