# How to make totals of results?ma

**URL:** <https://community.silverfin.com/t/how-to-make-totals-of-results-ma/1331>\
**Category:** Templates\
**Tags:** math, result, register\
**Created:** [December 28, 2018, 12:41pm UTC](https://community.silverfin.com/t/how-to-make-totals-of-results-ma/1331 "2018-12-28T12:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvia.debaeremaeker](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sylvia.debaeremaeker](https://community.silverfin.com/u/sylvia.debaeremaeker)\
**Post date:** [December 28, 2018, 12:41pm UTC](https://community.silverfin.com/t/how-to-make-totals-of-results-ma/1331/1 "2018-12-28T12:41:26Z")

</div>

I want to make the total of f.i. R54 + R61 + R63.  
How can i do that?

| **{% t “Totaal” %}** | **{{$1|currency}}{% result ‘R59’ $1 %}** | **{{$2|currency}}{% result ‘R62’ $2 %}** | **{{$3|currency}}{% result ‘R64’ $3 %}** | **{{$4|currency}}{% result ‘R55’ $4 %}** | **{{$5|currency}}{% result ‘R56’ $5 %}** | **{{$6|currency}}{% result ‘R57’ $6 %}** | **{{$7|currency}}{% result ‘R54’ $7 %}** | **{{$8|currency}}{% result ‘R61’ $8 %}** | **{{$9|currency}}{% result ‘R63’ $9 %}** |

**TOTAAL afgetrokken BTW:**  
**TOTAAL betaalde BTW:** {{$7|currency}}{% result ‘R54’ $7 %}+{{$8|currency}}{% result ‘R61’ $8 %}+{{$9|currency}}{% result ‘R63’ $9 %}

---

<div class="post-metadata">

**Author:** ![Kimberly\_Vlietinck](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/kimberly_vlietinck/32/1496_2.png) [@Kimberly\_Vlietinck](https://community.silverfin.com/u/Kimberly_Vlietinck)\
**Post date:** [December 28, 2018, 1:06pm UTC](https://community.silverfin.com/t/how-to-make-totals-of-results-ma/1331/2 "2018-12-28T13:06:39Z")

</div>

To make the total of R54 + R61 + R63 you can use this code:

`{{ $7+$8+$9 | currency }}`

To calculate the sum of the registers you created ($7, $8 and $9) the + sign needs to be inside the brackets.

If you then want to create a result tag for this total to use it in another template you can add this code:

`{% result 'totaal' $7+$8+9 %}`

Hope this was what you were looking for!

For future reference, you can find a guide [here](https://community.silverfin.com/t/how-to-paste-your-code-in-a-community-post/64) on how to paste your code correctly in a community post.
