comptage distinct

benfr35

XLDnaute Nouveau
Bonjour

j'aimerai faire un compte distinct d'une liste de prix suivant une référence le tout sur 2 colonnes
Réf PRix
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 81,7
PIVOT PLAT 81,7
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 77,79
PIVOT PLAT 63,08
PIVOT PLAT 63,08
PIVOT PLAT 63,08
FICHE HELLA 3,3
FICHE HELLA 3,3



Pivot plat = 3 valeurs distinctes
Fiche Hella = 1 valeur

Je voudrais faire cela sans TCD ni macro

merci de votre aide
 

Tibo

XLDnaute Barbatruc
Re : comptage distinct

Bonsoir,

Un essai avec une formule matricielle :

Ta liste de A1 à B22

En A26 : PIVOT PLAT
En A27 : FICHE HELLA

En B26, cette formule :

Code:
=SOMME(SI(A1:A22=A26;(1/NB.SI(B1:B22;B1:B22))))

Formule matricielle à valider par CTRL + MAJ + ENTREE

à recopier vers le bas en B27

Je te laisse tester

@+
 

Discussions similaires

Statistiques des forums

Discussions
312 229
Messages
2 086 423
Membres
103 206
dernier inscrit
diambote