How can I show in a question the sum of two answers given to a question before

More
3 years 6 months ago #100056 by limesurfer111
LimeSurvey Version + Build Version 2.00+ Build 130913
PHP Version 5.4
MySQL Version ?
Betriebssystem Win 7
Browser, etc. Netscape






How can I show in a question the summation of two answers given to a question before?

For example:

Question 2: How many people choose: a)
b)
c)
d)

Question 4: How many respondents from (Sum of Question 2a + 2c) choose the following possibilities?
blablabla


I know how to show the amount of a single answer, but not how to sum variables. Thanks!

Please Log in to join the conversation.

More
3 years 6 months ago #100059 by DenisChenu
Hi,

See manual.limesurvey.org/Expression_Manager

{sum(that.Q2.NAOK)} maybe

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 6 months ago #100088 by limesurfer111
Thank you for your answer.

I found out it is really simple:

Question 4: How many respondents from {SGQAf2a + SGQAf2c} choose the following possibilities?
blablabla

Please Log in to join the conversation.