Sum of many variables.
-
How can I add 20 variables and save it in another variable?
var1+var2+var3+var4.....var19+var20 = Var_sum. -
You will have to use formula block many times to achieve that. But, an easier way would be to use a custom code block and add up the variables.
-
Thanks I have used the custom code.
-
@Juan-Manuel-Quiñonero would you please describe how you did it?
Thanks -
In custom code, variable = V1+V2+V3+V4; etc
-
Hello. You can just replace var1, var2, etc., with your actual variable names, and add them together using the + operator. Hope this helps.