Code:
Age Group: Switch([Attained Age]<='50','<50',[Attained Age]>'50' And [Attained Age]<='55','51-55',[Attained Age]>'55' And [Attained
Age]<='60','56-60',[Attained Age]>'60' And [Attained Age]<='65','61-65',[Attained Age]>'65' And [Attained Age]<='70','66-70',[Attained
Age]>'70' And [Attained Age]<='75','71-75',[Attained Age]>'75' And [Attained Age]<='80','76-80',[Attained Age]>'80' And [Attained Age]
<='85','81-85',[Attained Age]>'85' And [Attained Age]<='100','85-100',[Attained Age]<'0' Or [Attained Age]>'100','>100')
For ages 0-85 it is fine, but for an age of 93 for example it goes into > 100 group. (I want it to go into 85-100).
btw I put below 0 in the >100 group and that is fine. Why are ages between 85-100 going to 100+?
Last edited: