Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Could I have a shorter sum calculation?

  • zhouybox
  • zhouybox's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #148577 by zhouybox
Could I have a shorter sum calculation? was created by zhouybox
I have a survey that needs to sum more than 20 answer values.Could I have a shorter sum calculation?Now I have to sum(Q_subQ1,Q_subQ2,Q_subQ3,Q_subQ4,Q_subQ5,Q_subQ6,Q_subQ7,Q_subQ8,Q_subQ9,Q_subQ10,Q_subQ12,Q_subQ13,Q_subQ14,Q_subQ15,Q_subQ16,Q_subQ17,Q_subQ18,Q_subQ19,Q_subQ20,Q_subQ21,Q_subQ22)
The topic has been locked.
More
7 years 1 month ago #148578 by jelo
Replied by jelo on topic Could I have a shorter sum calculation?
You can use variable names like self to let EM expand sub-questions automatically.

manual.limesurvey.org/Expression_Manager....27that.27_variables

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • zhouybox
  • zhouybox's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #148592 by zhouybox
Replied by zhouybox on topic Could I have a shorter sum calculation?
Thanks! It works!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose