Autres Erreur de formule

XXKellyXX

XLDnaute Nouveau
Bonjour,

Je dois mettre à jour que formule et inclure les conditions demandées pour l'année 2024.

=SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648<>"NOVECOLOGY");300;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="OUI";N26648="NON";C26648<>"NOVECOLOGY");150;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="OUI";C26648<>"NOVECOLOGY");150;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648="NOVECOLOGY");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON");450;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON");450;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON");450;"")))))))))))))))))))))))))

La formule fonction très bien sauf pour les conditions de MH GROUPE et MH GROUPE Bâtiment pour l'année 2023 et 2024, je ne comprend ou peu se trouver l'erreur cela fait 1 semaine que je flanche sans résultat.

si quelqu'un peu m'aider

Merci d'avance
 

JHA

XLDnaute Barbatruc
Bonjour à tous,

Au lieu de mettre des tas de conditions dans la formule, ne serait-il pas mieux d'avoir une table de correspondance?
Je te remets la même formule ligne par ligne cela t'aidera peut -être à trouver la solution, autrement un petit fichier exemple nous aiderait à te donner une solution.
VB:
=SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648<>"NOVECOLOGY");300;
SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="OUI";N26648="NON";C26648<>"NOVECOLOGY");150;
SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="OUI";C26648<>"NOVECOLOGY");150;
SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648="NOVECOLOGY");350;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH G C2917");250;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE C3068");250;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE BATIMENT C0293");250;
SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON");450;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH G C2917");250;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE C3068");250;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE BATIMENT C0293");250;
SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON");450;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH G C2917");250;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE C3068");250;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE BATIMENT C0293");250;
SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON");450;"")))))))))))))))))))))))))

JHA
 

Gégé-45550

XLDnaute Accro
Bonjour,

Je dois mettre à jour que formule et inclure les conditions demandées pour l'année 2024.

=SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648<>"NOVECOLOGY");300;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="OUI";N26648="NON";C26648<>"NOVECOLOGY");150;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="OUI";C26648<>"NOVECOLOGY");150;SI(ET(NB.SI(B26648;"MPR-2021*")<>0;M26648="NON";N26648="NON";C26648="NOVECOLOGY");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON";C26648<>"MH G C2917");600;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="OUI";N26648="NON";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="OUI";C26648<>"MH G C2917");350;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2022*")<>0;M26648="NON";N26648="NON");450;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2023*")<>0;M26648="NON";N26648="NON");450;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH G C2917");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE C3068");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;C26648="MH GROUPE BATIMENT C0293");250;SI(ET(NB.SI(B26648;"MPR-2024*")<>0;M26648="NON";N26648="NON");450;"")))))))))))))))))))))))))

La formule fonction très bien sauf pour les conditions de MH GROUPE et MH GROUPE Bâtiment pour l'année 2023 et 2024, je ne comprend ou peu se trouver l'erreur cela fait 1 semaine que je flanche sans résultat.

si quelqu'un peu m'aider

Merci d'avance
Bonjour,
Je plussoie JHA et voici la formule décomposée sur les cellules A3 et suivantes qui permettront, je l'espère, de voir ce qui cloche.
NOTA : c'est toujours mieux de joindre un fichier exemple à la question posée.
Cordialement,
 

Pièces jointes

  • Classeur.xlsx
    17.4 KB · Affichages: 2

Discussions similaires

Réponses
3
Affichages
523

Statistiques des forums

Discussions
312 213
Messages
2 086 302
Membres
103 174
dernier inscrit
OBUTT