THANK YOU, , I followed Xiphware method and it works.

I had to write the code in an I.D.E before transferring it to kobotoolbox.

this is the code

if(${Q9}=1 and ${Q10}=0, “N.A.R”, if(${Q9}=1 and ${Q10}=1, “L.A.P”, if(${Q9}=1 and ${Q10}=2, “L.A.P”, if(${Q9}=1 and ${Q10}=3, “L.A.P”, if(${Q9}=1 and ${Q10}=4, “H.A.P”,if(${Q9}=1 and ${Q10}=5, “H.A.P”,if(${Q9}=1 and ${Q10}=6, “H.A.P”, if(${Q9}=1 and ${Q10}=7, “U.A”, if(${Q9}=1 and ${Q10}=8, “U.A”, if(${Q9}=1 and ${Q10}=9, “U.A”, if(${Q9}=2 and ${Q10}=0, “L.A.P”, if(${Q9}=2 and ${Q10}=1, “L.A.P”, if(${Q9}=2 and ${Q10}=2, “L.A.P”, if(${Q9}=2 and ${Q10}=3, “L.A.P”, if(${Q9}=2 and ${Q10}=4, “H.A.P”, if(${Q9}=2 and ${Q10}=5, “H.A.P”, if(${Q9}=2 and ${Q10}=6, “H.A.P”, if(${Q9}=2 and ${Q10}=7, “U.A”, if(${Q9}=2 and ${Q10}=8, “U.A”, if(${Q9}=2 and ${Q10}=9, “U.A”, if(${Q9}=3 and ${Q10}=0, “H.A.P”, if(${Q9}=3 and ${Q10}=1, “H.A.P”, if(${Q9}=3 and ${Q10}=2, “H.A.P”, if(${Q9}=3 and ${Q10}=3, “H.A.P”, if(${Q9}=3 and ${Q10}=4, “H.A.P”, if(${Q9}=3 and ${Q10}=5, “H.A.P”, if(${Q9}=3 and ${Q10}=6, “H.A.P”, if(${Q9}=3 and ${Q10}=7, “U.A”, if(${Q9}=3 and ${Q10}=8, “U.A”, if(${Q9}=3 and ${Q10}=9, “U.A”, if(${Q9}=4 and ${Q10}=0, “U.A”, if(${Q9}=4 and ${Q10}=1, “U.A”, if(${Q9}=4 and ${Q10}=2, “U.A”, if(${Q9}=4 and ${Q10}=3, “U.A”, if(${Q9}=4 and ${Q10}=4, “U.A”, if(${Q9}=4 and ${Q10}=5, “U.A”, if(${Q9}=4 and ${Q10}=6, “U.A”, if(${Q9}=4 and ${Q10}=7, “U.A”, if(${Q9}=4 and ${Q10}=8, “U.A”, if(${Q9}=4 and ${Q10}=9, “U.A”, if(${Q9}=5 and ${Q10}=0, “U.A”, if(${Q9}=5 and ${Q10}=1, “U.A”, if(${Q9}=5 and ${Q10}=2, “U.A”, if(${Q9}=5 and ${Q10}=3, “U.A”, if(${Q9}=5 and ${Q10}=4, “U.A”, if(${Q9}=5 and ${Q10}=5, “U.A”, if(${Q9}=5 and ${Q10}=6, “U.A”, if(${Q9}=5 and ${Q10}=7, “U.A”, if(${Q9}=5 and ${Q10}=8, “U.A”, if(${Q9}=5 and ${Q10}=9, “U.A”, “N.A.R”))))))))))))))))))))))))))))))))))))))))))))))))))

thanks to Xiphware and wroos