This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Examples of If conditions in routing for multi-choice questions

These examples show possible conditions applied to single or multiple response questions

If Condition

Meaning

Q7=2

Code 2 is ticked in Q7

Q3>3

Any code above code 3 is ticked in Q3

Q3<3

Any code below code 3 is ticked in Q3

Q3>=3

Code 3 or above is ticked in Q3

Q3<=2

Code 2 or below is ticked in Q3

Q7=(1,4) OR Q7=(1 or 4)

Code 1 or code 4 is ticked in Q7

Q7=(3~5)

Code 3 or code 4 or code 5 in ticked in Q7

Q7==2

Only code 2 is ticked in Q7 (Q7 is a multiple response)

(Q2=2 OR Q4=1)

EITHER code 2 is ticked in Q2 or code 1 is ticked in Q4

(Q2=2 AND Q4=1)

BOTH code 2 of Q2 is ticked AND code 1 of Q4 is ticked

(Q2=2 OR Q4=1) AND Q5>=10)

EITHER code 2 of Q2 is ticked or code 1 of Q4 is ticked, and also gave an answer of 10 or above to Q5

NUM Q2=2

Two answers have been ticked at Q2 (Q2 would be a multi response question)

UNLESS (Q2=2)

Code 2 is NOT ticked in Q2

NOT(Q1=4)

Code 4 is NOT ticked in Q1

UNLESS (Q2=2)OR NOT(Q1=4)

Either code 2 is NOT ticked in Q2 or code 4 is NOT ticked in Q1

See Also

If condition syntax examples