Hi,
I’m trying to make a calculation as follows:
In cell in column “Herkwalificatie”
"value in “in aanmerking te nemen leningen”/ “Totaal in aanmerking te nemen leningen” * “Totaal Max. R/C” * “Rentetarief”
for example:
in the row of “489010.001 R/C Bestuurder/zaakvoerder” in cel Herkwalificatie I want to have the following calculation:
1.458.568,16 / 1.517.126,32 *950.936.32 * 2,00%
in row "489010.002 R/C Bestuurder/zaakvoerder:
58.588,16 / 1.517.126,32 * 950.936,32 * 4,00%
I can’t manage to get the total of a column in a cel of the next column.!
herkwal|689x225
{% for rc in rc_accounts %}
{% newline %}
{% comment %}display account and number as linkto{% endcomment %}
| {{ rc.link }}
|{% input rc.custom.rente.tarief as:percentage %}
| {% input rc.custom.boolean.marktrente as:boolean %}
{% if rc.custom.boolean.marktrente == 'true' %}Ja {% else %} Nee{% endif %}
| {% =$35+ -rc.value | currency %}
{% assign rentetarief_RC = rc.custom.rente.tarief %}
| {% if rentetarief_RC != 0 %}{% =$36+ -rc.value | currency %} {% endif %}
|
{% assign rekening_courant = -rc.value %}
| {% comment %}calculation = -rc.value / total in aanmerking te nemen lening * total max R/C * rc.rente.tarief {% endcomment %}
{% endfor %}
{% newline %}
| **Totaal**
|
|
| **{{ $35 | currency }}**
| **{{ $36 | currency }}**
{% assign basis_overschreden_RC = =$36 %}
| {% if $36 > Base %}
**Maximum R/C {{ $36-Base | currency }} overschreden**
{% else %}
**oke**
{% endif %}
{% comment %}total of comumn Herkwalificatie{% endcomment %}
| **{{ $37 | currency }}**
{% endstripnewlines %}