Is it possible to have a calculation that takes values from variables dynamically?

Is it possible to have a calcultaion that takes values from variables dinamically? I mean the calculation should take values from up to 5 values, but still work if only 3 values have been entered.

Thanks for your advice!

@gecenab, could you share a dummy question? It’s dummy choices and the criteria you should want. These details should help the community understand your issue and help you out, if it’s possible, through KoboToolbox.