Dividing a number based on an input

280
1
03-06-2024 12:35 PM
ekangeles
Emerging Contributor

Hello! 

I would like to ask if anyone have a solution to this problem I am stuck with. On the top row I am asking for the total volume of produce. After that the encoder must partition this total volume with sold, consumed, shared, and or processed. Is there a way I can do this with survey123? 

ekangeles_0-1709757292021.png

 

0 Kudos
1 Reply
abureaux
MVP Frequent Contributor

use div for division in S123.

E.g., ${sld_src} div ${cns_srv}

EDIT: And in case you didn't know, you can use a calculate on a new line for this. E.g.,

abureaux_0-1709837928126.png

 

0 Kudos