Anzahl Wie oft ein Element im Verhältnis zu einem Wert aus einer anderen Zelle vorkommt

Anzahl Wie oft ein Element im Verhältnis zu einem Wert aus einer anderen Zelle vorkommt

Ich habe zwei Arbeitsblätter und möchte zählen, wie oft ein Element in Spalte B vorkommt, wenn Spalte A den Wert „1“ enthält.

Arbeitsblatt 1 Spalte A (A2=1, A4=1, A7=1, A10=1, A13=1, A14=1, A15=1, A17=1, A18=1

Spalte B (B1= John Doe, B2= Philip Seymour, B3= Anthony Jones, B4= Thomas Moore, B5= Lindsey Lohan, B6= Rudy Duterte, B7= Philip Seymour, B8= Anthony Jones, B9= John Doe, B10= Philip Seymour, B11= Anthony Jones, B12= Thomas Moore, B13=Lindsey Lohan, B14= Rudy Duterte, B15= Anthony Jones, B16= John Doe, B17= Rudy Duterte

Das Ergebnis wird in Arbeitsblatt zwei wie folgt wiedergegeben

John Doe = 3 Philip Seymour = 1 Anthony Jones = 1 Thomas Moore = 1 Lindsey Lohan = 1 Rudy Duterte = 3

Antwort1

Habe das hier gefunden und das gewünschte Ergebnis erhalten:

=SUMPRODUCT(('2015'!$B$2:$B$19=Count!A2)*('2015'!$A$2:$A$19=1))

verwandte Informationen