=G2+SOMMEPROD(('Avancement Categorie'!$B$2:$B$50=B2)*('Avancement Categorie'!$C$2:$C$50=C2)*(ESTNUM(('Avancement Categorie'!$G$2:$G$50))))
+H2+SOMMEPROD(('Avancement Echhlon'!$B$2:$B$50=B2)*('Avancement Echhlon'!$C$2:$C$50=C2)*('Avancement Echhlon'!$I$2:$I$50))