Merci à vous pour votre rapiditée, la réponse de Yoyo me va, MAIS comme j'ai plusieurs résultats possibles en fonction de ce que affiche mes colonnes, j'ai tenté d'adapter le code, il fonctionne mais à priori je ne peux pas mettre plus de 12 possibilités, comment y remédier (Excel me dis que il ya trop de SI) ? Voila mon code :
=SI(ET(N2="CHAMBRE";S2="OUI");"Raccordement_Chambre";SI(ET(N2="CHAMBRE";S2="NON");"NON_Chambre";SI(ET(N2="CHAMBRE";S2="PLP");"PLP_Chambre";SI(ET(N2="CHAMBRE";S2="PLP_Remplacée");"PLP_Chambre";
SI(ET(N2="FACADE";S2="OUI");"Raccordement_Façade";SI(ET(N2="FACADE";S2="NON");"NON_Façade";SI(ET(N2="FACADE";S2="PLP");"PLP_Façade";;SI(ET(N2="FACADE";S2="PLP_Remplacée");"PLP_Façade";
SI(ET(N2="POTEAU";S2="OUI");"Raccordement_Aérien";SI(ET(N2="POTEAU";S2="NON");"NON_Aérien";SI(ET(N2="POTEAU";S2="PLP");"PLP_Aérien";SI(ET(N2="POTEAU";S2="PLP_Remplacée");"PLP_Aérien";
SI(ET(N2="STANDARD";S2="OUI");"Raccordement_Standard";SI(ET(N2="STANDARD";S2="NON");"NON_Standard";SI(ET(N2="STANDARD";S2="PLP");"PLP_Standard";SI(ET(N2="STANDARD";S2="PLP_Remplacée");"PLP_Standard";))))))))))))
Comment adapter ce code svp ?
J'ai mis la fin du code en rouge, car PLP_Chambre par exemple s'applique dans plusieurs cas (2), peux être pouvons nous les regrouper en disant que SI N2=CHAMBRE et que S2=PLP OU PLP_Remplacée cela est égale à PLP_CHAMBRE ?
Merci encore.