How to constraint a sum of 2 variables with the third variable

Please i am trying to make sure that the sum total for both Q20 and Q21 equate Q12.
But the sum of Q20 and Q21 does not equate Q12. After i deployed it on my mobile fone.

a7W5vADR84ZL443iRJsFyC (2).xlsx (20.3 KB)

Its kind of urgent, please help

Hi @daniel,

You could do this as outlined below:

In the survey tab of your xlsform:

Data entry screen as seen in Enekto: When the conditions are not met

Data entry screen as seen in Enekto: When a condition is met

Reference xlsform:

a7W5vADR84ZL443iRJsFyC (2).xlsx (10.3 KB)

Have a great day!

Thank you so much. Its now working fine

2 Likes