Bonjour à tous,
une variante :
=FILTRE(GrandLivre;GrandLivre[N°Piece]=MAX((GrandLivre[Type]="ACH")*(GrandLivre[N°Piece]))) pour 2 lignes
=FILTRE(GrandLivre;GrandLivre[N°Piece]*(GrandLivre[Compte]=$K$1)=MAX((GrandLivre[Type]="ACH")*(GrandLivre[Compte]=$K$1)*(GrandLivre[N°Piece])))
pour 1 ligne