- Posts: 64
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Deusdeorum wrote: However, if you only want to store age divided in categories in your dataset you can simply use the Expression Manager and question type equation
{if(Q1 <= 13, 'Younger then 14 years', if(Q1 < 20, '14 - 19 years',if(Q1 < 30, '20 - 29 years','older than 29 years')))}
You can:On the other hand, you may have to use another question type if you want to display the repartition by age ranges in public statistics... As far as I know, it's not possible with equation question type (quiet logical if answers are strings)
{Q2=if(Q1 < 4, 'A1', if(Q1 < 8, 'A2', 'A3'))}