First problem is, that there is no such thing like Q0002.valueNOAK, because you are using various subquestions in a array type question. This is why you get an red frame around your Q0002.valueNOAK. If you go over it, Limesurvey tells you that this value is not defined.
Also, one tip when using those things: don't hide the question while devolping the questionnaire, because what these questions show can help you to understand if something is going wrong, or better to check if everything is alright. Once everything works you can still hide the question (here your equation). And you either hide it with "Always hide" or you hide it with the css class hidden, you don't need both. In this case it is OK to go for always hide.
You would need to create first the sume of these subquestions, with something like this:
Code:
{sum(Q0002_A1.valueNAOK, Q0002_A2.valueNAOK, Q0002_A3.valueNAOK, Q0002_A4.valueNAOK, Q0002_A4.valueNAOK)}
Tested this, works like a charm. Now we need to find out what is wrong with Q0002B.
OK, that was easy. Same problem. You are using an array question. So with Q0002B, what subquestion are you referring to, just like above. Yes, in this case it is simple, as there is only one subquestion, but LS and the Expression Manager are stupid and like to be told exactly what to do, so just like before, you need to tell LS which subquestion you are referring to, especially as you name your subquestions pretty strange (Ax, which is generally the default value for the answer codes and not the subquestion codes in LS).
So at the end of the day, your equation should look like this:
Code:
sum(Q0002_A1.valueNAOK, Q0002_A2.valueNAOK, Q0002_A3.valueNAOK, Q0002_A4.valueNAOK, Q0002_A4.valueNAOK, Q0002B_A1.valueNAOK)
Tested, works like a charm, summing up all the assessment values of all the subquestions.
I did not look at the second question group, but it looks like they have the same structure and thus the problem is most probably the same.