=SIERREUR(INDEX(feesaccount[amount];PETITE.VALEUR(SI((feesaccount[transaction_id]=[@id])*(ESTNUM(TROUVE("commissioncashin";feesaccount[typetransaction]))+ESTNUM(TROUVE("commissioncashout";feesaccount[typetransaction]))+ESTNUM(TROUVE("margemerchant";feesaccount[typetransaction]))+ESTNUM(TROUVE("Bons_achat_credit-com";feesaccount[typetransaction]))+ESTNUM(TROUVE("Bons_cash_credit-com";feesaccount[typetransaction])));LIGNE(feesaccount[typetransaction])-1);1));0)