Sommeprod et Maintenant()

Goose

XLDnaute Occasionnel
Bjr à tous,
j'ai un souci de formule avec Sommeprod et Maintenant()
voici le fichier explicatif
merci
@+
 

Pièces jointes

  • RugbyV2.xls
    46 KB · Affichages: 66

Tibo

XLDnaute Barbatruc
Re : Sommeprod et Maintenant()

Bonjour Goose, salut Hasco,

Un début de réponse pour T4 avec une formule matricielle :

Code:
=SI(OU(SOMME(SI(ESTNUM('T2011'!$J$14:$J$40);((('T2011'!$V$14:$V$40)=$P$2)*(GAUCHE(('T2011'!$P$14:$P$40);3)=V4)*('T2011'!$J$14:$J$40+'T2011'!$I$14:$I$40))))>MAINTENANT();SOMME(SI(ESTNUM('T2011'!$J$14:$J$40);((('T2011'!$P$14:$P$40)=$P$2)*(GAUCHE(('T2011'!$V$14:$V$40);3)=V4)*('T2011'!$J$14:$J$40+'T2011'!$I$14:$I$40))>MAINTENANT())));"")

Formule matricielle à valider par CTRL + MAJ + ENTREE


Souci : il manque quelque chose dans ton test :

si ton test retourne VRAI, il faut mettre une chaîne vide ""

si ton test retourne FAUX, il faut mettre ....... on ne sait pas quoi, rien n'est précisé dans ton test.

@+
 

Monique

Nous a quitté
Repose en paix
Re : Sommeprod et Maintenant()

Bonjour,

En mettant en K le texte qui est en J, on peut garder SommeProd

=SI(SOMMEPROD(('T2011'!$V$14:$V$40=$P$2)*(GAUCHE('T2011'!$P$14:$P$40;3)=$V4)*('T2011'!$J$14:$J$40+'T2011'!$I$14:$I$40>MAINTENANT()))=0;"";SOMMEPROD(('T2011'!$V$14:$V$40=$P$2)*(GAUCHE('T2011'!$P$14:$P$40;3)=$V4)*('T2011'!$J$14:$J$40+'T2011'!$I$14:$I$40>MAINTENANT())))
 

Pièces jointes

  • SommeProdGoose.zip
    14.6 KB · Affichages: 26

Statistiques des forums

Discussions
312 310
Messages
2 087 117
Membres
103 477
dernier inscrit
emerica