elsabio77
XLDnaute Nouveau
Bonsoir à tous,
j'ai utilisé une formule avec des fonctions SI, ET imbriquées.
Mais elle est super longue.
Voici la formule:
Désolé, c'est pas très lisible.
Est il possible de la réduire?
Merci par avance pour ceux qui pourront m'aider si cela est possible
j'ai utilisé une formule avec des fonctions SI, ET imbriquées.
Mais elle est super longue.
Voici la formule:
Code:
=SI(ET(C4=horaires!$D$14;D4=horaires!$C$15);horaires!$D$15;SI(ET(C4=horaires!$D$14;D4=horaires!$C$16);horaires!$D$16;SI(ET(C4=horaires!$D$14;D4=horaires!$C$17);horaires!$D$17;SI(ET(C4=horaires!$E$14;D4=horaires!$C$15);horaires!$E$15;SI(ET(C4=horaires!$E$14;D4=horaires!$C$16);horaires!$E$16;SI(ET(C4=horaires!$E$14;D4=horaires!$C$17);horaires!$E$17;SI(ET(C4=horaires!$F$14;D4=horaires!$C$16);horaires!$F$16;SI(ET(C4=horaires!$F$14;D4=horaires!$C$17);horaires!$F$17))))))))+SI(ET(C5=horaires!$D$14;D5=horaires!$C$15);horaires!$D$15;SI(ET(C5=horaires!$D$14;D5=horaires!$C$16);horaires!$D$16;SI(ET(C5=horaires!$D$14;D5=horaires!$C$17);horaires!$D$17;SI(ET(C5=horaires!$E$14;D5=horaires!$C$15);horaires!$E$15;SI(ET(C5=horaires!$E$14;D5=horaires!$C$16);horaires!$E$16;SI(ET(C5=horaires!$E$14;D5=horaires!$C$17);horaires!$E$17;SI(ET(C5=horaires!$F$14;D5=horaires!$C$16);horaires!$F$16;SI(ET(C5=horaires!$F$14;D5=horaires!$C$17);horaires!$F$17))))))))+SI(ET(C6=horaires!$D$14;D6=horaires!$C$15);horaires!$D$15;SI(ET(C6=horaires!$D$14;D6=horaires!$C$16);horaires!$D$16;SI(ET(C6=horaires!$D$14;D6=horaires!$C$17);horaires!$D$17;SI(ET(C6=horaires!$E$14;D6=horaires!$C$15);horaires!$E$15;SI(ET(C6=horaires!$E$14;D6=horaires!$C$16);horaires!$E$16;SI(ET(C6=horaires!$E$14;D6=horaires!$C$17);horaires!$E$17;SI(ET(C6=horaires!$F$14;D6=horaires!$C$16);horaires!$F$16;SI(ET(C6=horaires!$F$14;D6=horaires!$C$17);horaires!$F$17))))))))+SI(ET(C7=horaires!$D$14;D7=horaires!$C$15);horaires!$D$15;SI(ET(C7=horaires!$D$14;D7=horaires!$C$16);horaires!$D$16;SI(ET(C7=horaires!$D$14;D7=horaires!$C$17);horaires!$D$17;SI(ET(C7=horaires!$E$14;D7=horaires!$C$15);horaires!$E$15;SI(ET(C7=horaires!$E$14;D7=horaires!$C$16);horaires!$E$16;SI(ET(C7=horaires!$E$14;D7=horaires!$C$17);horaires!$E$17;SI(ET(C7=horaires!$F$14;D7=horaires!$C$16);horaires!$F$16;SI(ET(C7=horaires!$F$14;D7=horaires!$C$17);horaires!$F$17))))))))+SI(ET(C8=horaires!$D$14;D8=horaires!$C$15);horaires!$D$15;SI(ET(C8=horaires!$D$14;D8=horaires!$C$16);horaires!$D$16;SI(ET(C8=horaires!$D$14;D8=horaires!$C$17);horaires!$D$17;SI(ET(C8=horaires!$E$14;D8=horaires!$C$15);horaires!$E$15;SI(ET(C8=horaires!$E$14;D8=horaires!$C$16);horaires!$E$16;SI(ET(C8=horaires!$E$14;D8=horaires!$C$17);horaires!$E$17;SI(ET(C8=horaires!$F$14;D8=horaires!$C$16);horaires!$F$16;SI(ET(C8=horaires!$F$14;D8=horaires!$C$17);horaires!$F$17))))))))
Désolé, c'est pas très lisible.
Est il possible de la réduire?
Merci par avance pour ceux qui pourront m'aider si cela est possible
Dernière édition: