Welcome to the LimeSurvey Community Forum

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

I would like to calculate the progress of respondents to answer the questionnair

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 months 3 weeks ago #264796 by tpartner
Use an IF condition:

Code:
{sum(if(count(that.S1Q1)>0, 1, 0), count(that.S1Q2))}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: yuto0419

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 months 3 weeks ago #264797 by Joffm
You may use "countifop" and useful codes



{round(100*sum(if(countifop("!=","NA",Q1.NAOK)>0,1,0),if(count(that.Q2.sq_S.NAOK)>0,1,0),if(countifop("==","NA",that.Q3.NAOK)>0,0,1))/3,2)} %

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose