Re : [Formule] sommeprod

Publié par david84 le 29/10/2013 21:52:07
Re

Tu peux peut-être raccourcir les 2 formules basées sur FREQUENCE comme suit :
pour les noms :
=SIERREUR(INDEX(agent;EQUIV(PETITE.VALEUR(SI(FREQUENCE(SI(type="ind";EQUIV(agent&type&cout;agent&type&cout;0));EQUIV(agent&type&cout;agent&type&cout;0))>0;LIGNE(agent));LIGNE(1:1));LIGNE(agent);0));"")

Pour les ind :
=SIERREUR(INDEX(cout;EQUIV(PETITE.VALEUR(SI(FREQUENCE(SI(type="ind";EQUIV(agent&type&cout;agent&type&cout;0));EQUIV(agent&type&cout;agent&type&cout;0))>0;LIGNE(agent));LIGNE(1:1));LIGNE(agent);0));"")

Cela semble OK sur l'exemple fourni mais mieux vaut tester plus avant.
A+

Ce message est de : http://excel.veriti.net/modules/newbb/viewtopic.php?post_id=211