Hi,
sum (1,2,3,4) = <NUMEE.NOAK
What do you want to sum?
The entries in the subquestions of REP.
So you have to use this syntax.
sum(QCode_SubquestionCode,QCode_SubquestionCode,...)
sum(REP_SQ001.NAOK,REP_SQ002.NAOK,REP_SQ003.NAOK,REP_SQ004.NAOK)
But in my opinion - if you may count girls double (as child and as girl) - the total number can be less than the sum.
Or?
Joffm