- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Take the highest rated options in two questions and pipe to next one
- Bee4420
- Topic Author
- Offline
- New Member
Less
More
1 year 11 months ago #228620
by Bee4420
Replied by Bee4420 on topic Take the highest rated options in two questions and pipe to next one
Brilliant!!! Thank you. I will try that.
Many thanks,
Bee
Many thanks,
Bee
Please Log in to join the conversation.
- Bee4420
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 year 11 months ago #228622
by Bee4420
Replied by Bee4420 on topic Take the highest rated options in two questions and pipe to next one
Sorry to bother you again, Joffm. I tried but i am stuck again after seperating the countries. Can you please help me again with the coding.
Thank you,
Bee
Thank you,
Bee
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
1 year 11 months ago #228624
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Take the highest rated options in two questions and pipe to next one
1. Don't use "{rand(x,y)}"
Use instead "{if(is_empty(randnumber),rand(x,y),randnumber)}"
Otherwise the randnumber changes with each click (same behaviour as Excel)
2. equation called "eqCountries"
{if(randnumber==1,eqCountriesLL,if(randnumber==2,eqCountriesHH,if(randnumber=,eqCountriesLH,eqCountriesHL)))}
Use instead "{if(is_empty(randnumber),rand(x,y),randnumber)}"
Otherwise the randnumber changes with each click (same behaviour as Excel)
2. equation called "eqCountries"
{if(randnumber==1,eqCountriesLL,if(randnumber==2,eqCountriesHH,if(randnumber=,eqCountriesLH,eqCountriesHL)))}
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Bee4420
Please Log in to join the conversation.
- Bee4420
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 year 11 months ago #228627
by Bee4420
Replied by Bee4420 on topic Take the highest rated options in two questions and pipe to next one
now it works perfectly.
Thank youuuuuuuuuu, Joffm!!!!!!!
Thank youuuuuuuuuu, Joffm!!!!!!!
Please Log in to join the conversation.