Olá, aqui está a solução.
É sempre o mesmo procedimento.
As equações "eqList" e "eqString" usam ideias diferentes, mas dão o mesmo resultado.
Code:
{if(count(that.p1) gt 0,join(if(p1_o1=="Y","a",""), if(p1_o2=="Y","b",""), if(p1_o3=="Y","c",""), if(p1_o4=="Y","d",""),if(p1_o5=="Y","e",""), if(p1_o6=="Y","f",""), if(p1_o7=="Y","g",""), if(p1_o8=="Y","h",""), if(p1_o9=="Y","i",""), if(p1_o10=="Y","j",""), if(p1_o11=="Y","k",""), if(p1_o12=="Y","l",""), if(p1_o13=="Y","m",""), if(p1_o14=="Y","n","")),"")}{if(count(that.p2) gt 0,join(if(p2_o1=="Y","a",""), if(p2_o2=="Y","b",""), if(p2_o3=="Y","c",""), if(p2_o4=="Y","d",""),if(p2_o5=="Y","e",""), if(p2_o6=="Y","f",""), if(p2_o7=="Y","g","")),"")}{if(count(that.p3) gt 0,join(if(p3_o1=="Y","a",""), if(p3_o2=="Y","b",""), if(p3_o3=="Y","c",""), if(p3_o4=="Y","d","")),"")}{if(count(that.p4) gt 0,join(if(p4_o1=="Y","a",""), if(p4_o2=="Y","b",""), if(p4_o3=="Y","c",""), if(p4_o4=="Y","d",""), if(p4_o5=="Y","e",""), if(p4_o6=="Y","f","")),"")}{if(count(that.p5) gt 0,join(if(p5_o1=="Y","a",""), if(p5_o2=="Y","b",""), if(p5_o3=="Y","c",""), if(p5_o4=="Y","d",""), if(p5_o5=="Y","e",""), if(p5_o6=="Y","f",""), if(p5_o7=="Y","g",""), if(p5_o8=="Y","h","")),"")}{if(count(that.p6) gt 0,join(if(p6_o1=="Y","a",""), if(p6_o2=="Y","b",""), if(p6_o3=="Y","c",""), if(p6_o4=="Y","d",""), if(p6_o5=="Y","e",""), if(p6_o6=="Y","f",""), if(p6_o7=="Y","g",""), if(p6_o8=="Y","h",""), if(p6_o9=="Y","i","")),"")}{if(count(that.p7) gt 0,join(if(p7_o1=="Y","a",""), if(p7_o2=="Y","b",""), if(p7_o3=="Y","c",""), if(p7_o4=="Y","d",""), if(p7_o5=="Y","e",""), if(p7_o6=="Y","f",""), if(p7_o7=="Y","g",""), if(p7_o8=="Y","h",""), if(p7_o9=="Y","i","")),"")}{if(count(that.p8) gt 0,join(if(p8_o1=="Y","a",""), if(p8_o2=="Y","b",""), if(p8_o3=="Y","c","")),"")}{if(count(that.p9) gt 0,join(if(p9_o1=="Y","a",""), if(p9_o2=="Y","b",""), if(p9_o3=="Y","c",""), if(p9_o4=="Y","d","")),"")}{if(count(that.p10) gt 0,join(if(p10_o1=="Y","a",""), if(p10_o2=="Y","b",""), if(p10_o3=="Y","c",""), if(p10_o4=="Y","d",""), if(p10_o5=="Y","e",""), if(p10_o6=="Y","f",""), if(p10_o7=="Y","g",""), if(p10_o8=="Y","h",""), if(p10_o9=="Y","i",""), if(p10_o10=="Y","j",""), if(p10_o11=="Y","k",""), if(p10_o12=="Y","l",""), if(p10_o13=="Y","m",""), if(p10_o14=="Y","n",""), if(p10_o15=="Y","o",""), if(p10_o16=="Y","p",""), if(p10_o17=="Y","q",""), if(p10_o18=="Y","r",""), if(p10_o19=="Y","s",""), if(p10_o20=="Y","t","")),"")}{if(count(that.p11) gt 0,join(if(p11_o1=="Y","a",""), if(p11_o2=="Y","b",""), if(p11_o3=="Y","c","")),"")}{if(count(that.p12) gt 0,join(if(p12_o1=="Y","a",""), if(p12_o2=="Y","b",""), if(p12_o3=="Y","c","")),"")}{if(count(that.p13) gt 0,join(if(p13_o1=="Y","a",""), if(p13_o2=="Y","b","")),"")}{if(count(that.p14) gt 0,join(if(p14_o1=="Y","a",""), if(p14_o2=="Y","b",""), if(p14_o3=="Y","c","")),"")}{if(count(that.p15) gt 0,join(if(p15_o1=="Y","a",""), if(p15_o2=="Y","b",""), if(p15_o3=="Y","c","")),"")}
Code:
{join(
if(count(p1_o1.NAOK, p2_o1.NAOK, p3_o1.NAOK, p4_o1.NAOK, p5_o1.NAOK, p6_o1.NAOK, p7_o1.NAOK, p8_o1.NAOK, p9_o1.NAOK, p10_o1.NAOK, p11_o1.NAOK, p12_o1.NAOK, p13_o1.NAOK, p14_o1.NAOK, p15_o1.NAOK) gt 0,"a",""),
if(count(p1_o2.NAOK, p2_o2.NAOK, p3_o2.NAOK, p4_o2.NAOK, p5_o2.NAOK, p6_o2.NAOK, p7_o2.NAOK, p8_o2.NAOK, p9_o2.NAOK, p10_o2.NAOK, p11_o2.NAOK, p12_o2.NAOK, p13_o2.NAOK, p14_o2.NAOK, p15_o2.NAOK) gt 0,"b",""),
if(count(p1_o3.NAOK, p2_o3.NAOK, p3_o3.NAOK, p4_o3.NAOK, p5_o3.NAOK, p6_o3.NAOK, p7_o3.NAOK, p8_o3.NAOK, p9_o3.NAOK, p10_o3.NAOK, p11_o3.NAOK, p12_o3.NAOK, p14_o3.NAOK, p15_o3.NAOK) gt 0,"c",""),
if(count(p1_o4.NAOK, p2_o4.NAOK, p3_o4.NAOK, p4_o4.NAOK, p5_o4.NAOK, p6_o4.NAOK, p7_o4.NAOK, p9_o4.NAOK, p10_o4.NAOK) gt 0,"d",""),
if(count(p1_o5.NAOK, p2_o5.NAOK, p4_o5.NAOK, p5_o5.NAOK, p6_o5.NAOK, p7_o5.NAOK, p10_o5.NAOK) gt 0,"e",""),
if(count(p1_o6.NAOK, p2_o6.NAOK, p4_o6.NAOK, p5_o6.NAOK, p6_o6.NAOK, p7_o6.NAOK, p10_o6.NAOK) gt 0,"f",""),
if(count(p1_o7.NAOK, p2_o7.NAOK, p5_o7.NAOK, p6_o7.NAOK, p7_o7.NAOK, p10_o7.NAOK) gt 0,"g",""),
if(count(p1_o8.NAOK, p5_o8.NAOK, p6_o8.NAOK, p7_o8.NAOK, p10_o8.NAOK) gt 0,"h",""),
if(count(p1_o9.NAOK, p6_o9.NAOK, p7_o9.NAOK, p10_o9.NAOK) gt 0,"i",""),
if(count(p1_o10.NAOK, p10_o10.NAOK) gt 0,"j",""),
if(count(p1_o11.NAOK, p10_o11.NAOK) gt 0,"k",""),
if(count(p1_o12.NAOK, p10_o12.NAOK) gt 0,"l",""),
if(count(p1_o13.NAOK, p10_o13.NAOK) gt 0,"m",""),
if(count(p1_o14.NAOK, p10_o14.NAOK) gt 0,"n",""),
if(count(p10_o15.NAOK) gt 0,"o",""),
if(count(p10_o16.NAOK) gt 0,"p",""),
if(count(p10_o17.NAOK) gt 0,"q",""),
if(count(p10_o18.NAOK) gt 0,"r",""),
if(count(p10_o19.NAOK) gt 0,"s",""),
if(count(p10_o20.NAOK) gt 0,"t","")
)}
Em "gie, "gis", gif" alterei os códigos "estúpidos" "AO01", "AO02", ... para "1", "2", "3".
O texto é então mostrado em G03Q28.
Ou você mostra na descrição do grupo, não importa.
Você só tem que colocar em G04Q29 e G05Q30, é claro adaptado para o segundo, terceiro símbolo.