Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: counting answers in YES/NO question

counting answers in YES/NO question 3 years 2 months ago #96390

  • tnegulic
  • tnegulic's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
How to count answers depend of some rule. Like, count only answers with NO answer in Yes/No question?
Or count only answers (No) in subquestions
The administrator has disabled public write access.

counting answers in YES/NO question 3 years 2 months ago #96409

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9254
  • Thank you received: 1319
  • Karma: 382
Something like countif ?
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

counting answers in YES/NO question 3 years 2 months ago #96414

  • tnegulic
  • tnegulic's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Ok. That could work..
so...
number countif(=="No", Q1, Q2)

Something like that?
The administrator has disabled public write access.

counting answers in YES/NO question 3 years 1 month ago #96422

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9254
  • Thank you received: 1319
  • Karma: 382
No ....

countif(Q1=="N",Q2=="N")
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.216 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form