This is a development/continuation of a question I asked some months ago. Previously, I asked about comparing variables, and with valuable help from
That calculation was to determine whether income is greater (by a factor) than expenses. Now I’d like to add another calculation that determines whether expenses are more than income. I have tried to follow the same pattern creating another variable, ‘deficit’,
- Add expenses to deficit
- Subtract income from deficit
- Query whether deficit > 0
However, putting both calculations in the same questions ends in a mess. I can’t work out how to put two calculations, with two outcomes into the same question. When I put test figures into the questionnaire, the first calculation works ok, but it always proceeds to the second. Both statements can’t be true - either income is greater than expenses, or expenses are more than income.
I’d be very grateful for suggestions or a solution.
