Counting the not selected choices

Hello, can someone help me, how to count the not selected choices

Hi @joelkosianza,

You could do the same as outlined in the image below:

In the survey tab of your xlsform:

In the choices tab of your xlsform:
Image 2

Data entry screen as seen in Enketo:

Reference xlsform:
Selection Counts.xls (27.5 KB)

Have a great day!

1 Like

Hi @joelkosianza
In addition to what @Kal_Lam you can also directly add this to an integer question as explained in the following formula


1 Like

Big thanks


Hi @Kal_Lam,
in this solution you hardcode the number of available choices, 15, to do the not-selected calculation.
Is there a way to count the number of available choices in the list, or access the list with a function other than the select question types?

Hi @Kal_Lam ,

How can we know indexing of the dropdown list ?

Thanks and Regards,
Zeeshan Ahmad

@zash0012, would you mind being more detailed here so that the community should be able to help you out?