# Counting the number of options chosen on a select\_multiple variable

**URL:** <https://forum.getodk.org/t/counting-the-number-of-options-chosen-on-a-select-multiple-variable/9485>\
**Category:** Support\
**Tags:** form-design, odk-xlsform\
**Created:** [August 21, 2017, 11:01pm UTC](https://forum.getodk.org/t/counting-the-number-of-options-chosen-on-a-select-multiple-variable/9485 "2017-08-21T23:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akum\_Aveika](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/akum_aveika/32/19042_2.png) [@Akum\_Aveika](https://forum.getodk.org/u/Akum_Aveika)\
**Post date:** [August 21, 2017, 11:01pm UTC](https://forum.getodk.org/t/counting-the-number-of-options-chosen-on-a-select-multiple-variable/9485/1 "2017-08-21T23:01:00Z")

</div>

I have a select\_multiple variable on my ODK form.  
1.I want to count the number of options selected during data capture  
2. I also want to know which options are selected so as to valid some other responses during the interview.

any ideas.

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [August 22, 2017, 12:04am UTC](https://forum.getodk.org/t/counting-the-number-of-options-chosen-on-a-select-multiple-variable/9485/2 "2017-08-22T00:04:19Z")

</div>

I think you will want to explore the `count-selected` and `selected` functions. See the "Operators" section on [this page](https://opendatakit.org/help/form-design/binding/) for examples.

In the future, please do use the support template to get the best help possible! You can read more in [About the Support category](https://forum.getodk.org/t/about-the-support-category/15).

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [October 12, 2017, 12:47am UTC](https://forum.getodk.org/t/counting-the-number-of-options-chosen-on-a-select-multiple-variable/9485/3 "2017-10-12T00:47:33Z")

</div>

A post was split to a new topic: [Visualizing geopoints](https://forum.getodk.org/t/visualizing-geopoints/10188)
