Welcome, Guest
Username: Password: Remember me

TOPIC: Highest and lowest value in expression manager

Highest and lowest value in expression manager 2 years 6 months ago #77087

  • granen
  • granen's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hello,

I am trying to use the Expression Manager for the first time (Great job from the developer).

This is what I would like to do.

The repondents first answers 10 questions if he/she is willing to pay the sum or not. See image

Skrmavbild2012-03-21kl.17.40.52.png


On the next page I would ask a question like this

The smallest sum you are willing to pay is {smallest value} and the highest you are not willing to pay is {Largest value}. What is the highest sum you are willing to pay? It can be anything between {smallest value} and {Highest value}

Is this possible to do?

//Erik
The administrator has disabled public write access.

Re: Highest and lowest value in expression manager 2 years 5 months ago #77754

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
say your questions are q1-q10, the easiest way is to set the desired values for Yes, No and Don't Know. So, for your first question, the coded value for Yes is 8000; for q2, the coded value for Yes is 1000, etc.

Then, to get the min, you use:
The smallest you are willing to pay is {min(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10)}

and to get the max, you use:
The largest you are willing to pay is {max(q1,q2,q3,q4,q5,q6,q7,q8,q9,q10)}
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.195 seconds
Donation Image