XL 2013 Comment écrire une longue formule dans excel sous la forme ci-après:

Narest

XLDnaute Nouveau
=SIERREUR(SI(K$4<$D6;"";
SI(K$4>La_Dernière_Opération;"";
SI(K$4=La_Dernière_Opération;Montant;
SI(K$4=$D6;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(_T_E=K$4;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(ET(DECALER(K6;;-Sens)<>"";OU(DECALER(K$4;;-Sens)=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(DECALER(K$4;;-Sens);DECALER(K$4;;-Sens);Chômés))));SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
""))))));"")
 

piga25

XLDnaute Barbatruc
Bonjour

=SIERREUR(SI(K$4<$D6;"";
SI(K$4>La_Dernière_Opération;"";
SI(K$4=La_Dernière_Opération;Montant;
SI(K$4=$D6;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(_T_E=K$4;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(ET(DECALER(K6;;-Sens)<>"";OU(DECALER(K$4;;-Sens)=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(DECALER(K$4;;-Sens);DECALER(K$4;;-Sens);Chômés))));SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);""))))));"")

Si j'ai bien compris, vous désirez que chaque SI soit sur une nouvelle ligne.
Si c'est le cas, vous y étiez tout proche:

Copier ceci et le coller dans la barre formule
Code:
SI(K$4>La_Dernière_Opération;"";
SI(K$4=La_Dernière_Opération;Montant;
SI(K$4=$D6;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(_T_E=K$4;SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);
SI(ET(DECALER(K6;;-Sens)<>"";OU(DECALER(K$4;;-Sens)=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(DECALER(K$4;;-Sens);DECALER(K$4;;-Sens);Chômés))));
SI(OU(K$4=Tout_JF_P;NON(NB.JOURS.OUVRES.INTL(K$4;K$4;Chômés)));"*";Montant);""))))));"")
 

Discussions similaires

Statistiques des forums

Discussions
312 075
Messages
2 085 080
Membres
102 772
dernier inscrit
bluetesteur