Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Function to get sum of all variables in a question

Is there a function to get the sum of all the Check boxes in a question? I have 50 check boxes in a question and I don't want to write like this:

(Q1_1 + Q1_2 + .... + Q1_50)

Please suggest.
asked Dec 27, 2013 by Niks Bronze (620 points)
retagged Dec 27, 2013 by Walter Williams

1 Answer

+2 votes
Best answer
You can use the function NumChecked(QuestionName).  This will return the total number of responses checked for a question.
answered Dec 27, 2013 by Jay Rutherford Gold (37,585 points)
selected Dec 27, 2013 by Niks