Count How Many Answers Selected for Multiple Choice Question | Community
Skip to main content
Question

Count How Many Answers Selected for Multiple Choice Question


Hello,

 

I currently have a Typerform I’m creating that is somewhat of a self-diagnostic. Some of the questions I have set up are multiple choice questions where respondents can choose as many answers as they’d like. 

 

I am trying to set up logic where it will count the number of responses they choose and assign a number to their score. 

 

For example: if 2 answers are selected then add X amount to Score. If 3 answers are selected, add X amount to score, and so on. 

 

I thought I had seen an option in the logic drop downs to calculate this but I am unable to find it anymore. It only provides me with a way to assign a score for a single option chosen. My logic shouldn’t be based around the specific answer chosen, rather, the total number of answers picked. 

 

Is this a logic I’m able to setup? Any help is appreciated. 

 

Thank you

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14884 replies
  • March 18, 2025

@john.desborough you don’t happen to have any easy guides for this by chance? 


  • Author
  • Explorer
  • 2 replies
  • March 24, 2025

@Liz ​@john.desborough Do either of you have any updates on how I might be able to set up this logic?


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5267 replies
  • March 24, 2025

@aelens - i think it might be easy to overthink this.. 

  1. create a variable called v_count (or if you have multiple ‘categories’ create a variable for each one) 
  2. logic rules on a question look like this: 
    1. if q1 = A add 1 to v_count
    2. if q1 = B add 1 to v_count
    3. if q1 = C add 1 to v_count
    4. if q1 = D add 1 to v_count
    5. if q1 = E add 1 to v_count

if you have 5 options for that question, the logic adds 1 to the counter for that variable. if they choose A and D, 2 is added to the variable. 

rinse and repeat

 

des


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14884 replies
  • March 27, 2025

Thanks, ​@john.desborough ! Let us know how this goes, ​@aelens !


Reply