C'est bon ! J'ai trouvé la dimension TENDANCE!R2:U qui était à étendre (ex : TENDANCE!G2:U) pour pouvoir récupérer les notes. J'ai testé, pas à pas, les Col pour saisir les colonnes qui m'intéressent.
Ça marche séparément :
=query(arrayformula({regexextract(TENDANCE!B2:B;"\d+")\TENDANCE!G2:U\SIERREUR(EQUIV(TENDANCE!U2:U;STOCK!F:F;0);0)});"select Col1, Col16,Col15 where (Col17=0 and Col8>=9)")
Par contre quand je l'accole comme avant ça ne marche plus 😓 :
={query( {Base!A:V} ;"select Col5, Col1, Col2, Col3, Col8 where (((Col8=1 and Col3<=3 and Col4 Is Null) or (Col8=2 and Col3<=3 and Col4 Is Null) or (Col8=2 and Col3<=3 and Col4 Is Not Null) or (Col8=2 and Col3>=3 and Col4 Is Null) or (Col8=2 and Col3>=3 and Col4 Is Not Null)) and Col15>=9)";1);query(arrayformula({regexextract(TENDANCE!B2:B;"\d+")\TENDANCE!G2:U\SIERREUR(EQUIV(TENDANCE!U2:U;STOCK!F:F;0);0)});"select Col1, Col16,Col15 where (Col17=0 and Col8>=9)")}