Help with adding dates (sum) or arbitrary texts in a repeating group

I’ll try to simplify.

I have a repeating group with a list of numbers and a conditional.

If current cells number > 2 , then text: "arbitrary text (2): formatted as number.

Thus, each current cells must show 1 or 2.

But Im not able to sum the previewing number in another input for instance. When I try to rescue the value’s of the repeating group where the arbitrary text is, it’s adding the number without the conditional.

For instance, in a list where is 4 + 1 + 5, it will show 2 + 1 + 2 on my repeating group.
Now I want the sum of the second list (the one I want to show - 2+1+2 = 5) but, instead, it’s make the sum of 4+1+5 = 10.

Any idea?

Here’s a copy of my editors:

The Table is on PopUp “Extrair_rel_colab”.

In preview mode: check the column, “recursos humanos” → “gestao de condutores” → “pizza item (relatórios)” and select date pickers since first january. Then click download icon to open the PopUp.