Assigning a score to each responses of a question, and then calculating scores from several questions based on responses

Hi All, I wanted to ask a group of 9 questions with same 4 responses while each response have an assigned score.

Assigning a score to each responses of a question, and then calculating scores from several questions based on responses, assigned score as sum

I have tried this but it is not working. can anyone help?

revised check.xlsx (11.1 KB)

I would appreciate support in resolving this.

Thanking you. Maeen.

What if we have different score for each response? Like if selected first response then score is 1, if selected second response score is 2 and so on. how would we do this?

Hi Maeen,
I suggest you to simplify your complicated calculations. Since, you already have the ‘score’ value in the select_one variable for each question; you can simply use int() function and add up all the scores in just one calculation variable.

1 Like

Welcome to the community, @machowdhury11! I agree with @jbindrookobo. You need not complicate your form. You could do it as outlined in the image shared below:

In the survey tab of your XLSForm:

In the choices tab of your XLSForm:

image

Data entry screen as seen in Enketo:

Reference XLSForm:

revised check.xlsx (10.0 KB)