Counting number of answers selected from a multiple choices question

I want to count the number of answers in a multiple question. How to make a calculation script. Anyone can help ?

1 Like

Maybe you could do it as outlined in the image below:

In the survey tab of your xlsform:

In the choices tab of your xlsform:

Data entry screen as seen in Enketo:

Reference xlsform:
count-selected.xlsx (13.3 KB)

1 Like

Thanks Kal_Lam … Very helpful

1 Like

Very useful!

2 Likes

Hi!

How can I do it for more than one multiple choice question? I have six multiple choice questions and I need to count the total selected options across six questions.

Thanks,

Hi @peeyush,

You can use the same logic with Kal’s answer, but I created an example for you just in case

count-selected.xlsx (14.0 KB)