Hi,
I'm trying to do the following.
question 1: what is your age?
question code:  SCREENC
type:  numerical input
question 2:  age ranges
code: SCREENC1
type: List question?
Trying to code question 1 into the following age ranges
1	Under 18
2	18 - 24
3	25 – 29
4	30 – 34
5	35 – 44
6	45 – 49
7	50 – 54
8	55+
I've put together this formula which i stuck in the question field on question 2
{SCREENC1=if(SCREENC.NAOK <= 18, "1", if(SCREENC.NAOK < 25, "2", if(SCREENC.NAOK < 29, "3" ,if(SCREENC.NAOK < 34, "4", if(SCREENC.NAOK < 44, "5", if(SCREENC.NAOK < 49, "6", if(SCREENC.NAOK < 54, "7" ,if(SCREENC.NAOK > 55, "8"))))))))}
I also need to set quotas on these age ranges so I don't think it can be an equation question.   My formula doesn't seem to work, i get no answers in the 2nd question when i run it.   What am I doing wrong? is there a better way to do this?    
     
 	
	    
            The topic has been locked.