- Posts: 25
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
3. Use of the function countifop (Count the number of answered questions in the list which pass the criteria (arg op value))
{countifop('==',5,A1Q1_SQ001,A1Q1_SQ002,A1Q1_SQ003,A1Q1_SQ004,A1Q1_SQ005)}
You see the first two parameters, which say "equal" and "5".
Then the five subquestions.
4. Use of countifop and "that"
{countifop('==',5,that.A1Q1.NAOK)}
You count the appearance of "=5" in the whole question A1Q1.
(The 'that' variable is like the 'self' variable, but lets you refer to other questions.)
Beause I set the relevance in the next question I refer to the "other" question A1Q1