Welcome to the LimeSurvey Community Forum

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

how to use boolean em in countifop?

  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #118923 by iscar
{countifop('==','true','cat>dog?','apple>orange','father>son')}
the question is how to write EM in countifop, like if(cat.value>dog.value,true,false)?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 11 months ago #118924 by tpartner
Replied by tpartner on topic how to use boolean em in countifop?
I'm not sure why you would want to do that. When using countifop, you can only compare to a single value. Why not use a simple or nested IF statements?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #119048 by iscar
Replied by iscar on topic how to use boolean em in countifop?
thanks, i guess EM can do any calculation.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose