How to count the number of responses selected in previous question

1. What is the problem? Be very detailed.
This may be a very simple question, but what formula is needed to count the number of responses selected from a select_multiple previous question?
This will be used to calculate attendance rates, but having them select_multiple for Monday am, Monday pm, Tuesday am, Tuesday pm, etc..

Thanks for the help!

2. What app or server are you using and on what device and operating system? Include version numbers.

3. What you have you tried to fix the problem?

4. What steps can we take to reproduce the problem?

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.

Hi @caseykennedy

the syntax is:
count-selected(multi_select_question)

Note that you can find more info on the syntax at the following page.
https://docs.opendatakit.org/form-operators-functions/#count-selected

I hope this helps!
Best,
Andrea

1 Like

Such a simple solution, thank you!