=+SOMMEPROD(($A7=Mutuelle)*($C7=Aff.1)*($D7=Aff.2)*($B7=Libelle)*(G$6>=Date)*(Date>F$6)*((operation="achat")+(operation="souscription")+(operation="achattransfert"));Montant_brut)-SOMMEPROD(($A7=Mutuelle)*($C7=Aff.1)*($D7=Aff.2)*($B7=Libelle)*(G$6>=Date)*(Date>F$6)*((operation="vente")+(operation="rachat")+(operation="ventetransfert"));prix_de_sortie)+F7