Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Extending the countif() function

Extending the countif() function 1 Jahr 8 Monate her #92744

  • LSCitizen
  • LSCitizens Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
Hello -
I need some help. I have a series of questions(this series of questions repeats 5 times):

Q1. How old are you? (numerical input)
Q2. Would you like to participate in our survey? (IF Q1 greater than 18; yes/no question)
Q3. Why not? (If Q2 = no)
Q4. Thanks for your time (If Q1 less than 18).

I want to be able to count the number of Q1 values that are greater than 18. Is there a way to extend the countif() function to do this? Or this another way to do this?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Extending the countif() function 1 Jahr 8 Monate her #92745

  • TMSWhite
  • TMSWhites Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 759
  • Dank erhalten: 82
  • Karma: 36
Use the countifop() function. For example, say your Q1-like questions are Q1, Q11, Q21, Q31, ...
countifop(">",18,Q1,Q11,Q21,Q32)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.168 Sekunden
Donation Image