Hi @cmauriciog
Welcome to the ODK forum. We're glad you're here. When you get a chance, please introduce yourself on this forum thread.
Please try this solution Repeat Groups Calculations
In your case it should be something like:
Prueba1.xlsx (9.0 KB)