Please I’m trying to calculate the sclass based on the criteria below, but seems not working for me. Kindly find attached the excel file for your reference. I’m expecting the A or E to be terminated any time the calculation fall on those. Thank you.
SOCIO ECONOMIC GROUP TOTAL SCORE criteria
A = 80 + TERMINATE
B = 69 - 79 Continue
C1 = 56 - 69 Continue
C2 = 35 - 55 Continue
D = 16 - 34 Continue
E = <16 TERMINATE
Regards,
Ernest.
Please I need your urgent help on this socio economic classification which I’m unable to work it out.
Kindly find below the criteria. I want A & E calculation to be terminated, but it’s not working. Please look into the attached excel file and see if something can be done for me. Thank you.
@rockyjunior24gh, could you please share the specific section of the XLSForm that is causing the issue? This will greatly assist the community in understanding your query and responding more effectively.
if(${sclassscores}>=80 or ${sclassscores}<16, “TERMINATE”, “CONTINUE”)
select_one Terminate-Terminate_Thank_you1-Unfortunately, this Respondent does not meet the survey criteria, click next and close interview-relevant: ${code} = “TERMINATE”
I am attaching the XLS form, the line changed was 73 and 172.
To be clear, you cannot ‘terminate’ a form half-way; rather, you instead make all subsequent questions non-relevant so they become not shown. And the easiest way to do this is put them all inside a group, and add a relevant condition on that group.
If you disagree - or, equivalently, the respondent doesn’t meet your required criteria - then the form basically ‘terminates’ because everything else subsequent in the form (inside the group) is now non-relevant.