Welcome to the LimeSurvey Community Forum

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

function not work in countif for array

  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 2 weeks ago - 9 years 2 weeks ago #118921 by iscar
i checked several times and finally find the problem:
if you want to count the number of answer Y1 and answer Y2,
countif('Y1' OR 'Y2',rg1_SQ001,rg1_SQ002,rg1_SQ003,rg1_SQ004)>2 not work well.
countif('Y1',rg1_SQ001,rg1_SQ002,rg1_SQ003,rg1_SQ004)>2 work well.

countifop('=','Y1' OR 'Y2',rg1_SQ001,rg1_SQ002,rg1_SQ003,rg1_SQ004)>2?
i am not sure if that's a bug or my mistake?
Last edit: 9 years 2 weeks ago by iscar.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose