Forum Discussion
afoucaul
Feb 02, 2023Copper Contributor
Bonjour, souhait de faire une fonction SI
Bonjour Je suis sur un tableau fournisseur. Je souhaiterais ajouter une colonne ou dedans il y aurait deux choix : "oui" et "non". Le "oui" serait Si un fournisseur (colonne C) intervient ...
PeterBartholomew1
Feb 02, 2023Silver Contributor
COUNTIFS works for text fields.
= MAP(Supplier, LAMBDA(s,
COUNTA(UNIQUE(FILTER(Category, Supplier=s)))
))Counts the number of categories that are listed for each supplier. Using a Lambda function, this could be expressed
= MAP(Supplier, CategoryCountλ)Putting this together and one gets
= IF(MAP(Supplier, CategoryCountλ)>=3, "Oui", "Non")