Forum Discussion

ratlos2019's avatar
ratlos2019
Copper Contributor
Nov 20, 2019

Zählen nach mehreren Kriterien

Hallo,

 

ich möchte eine Tabelle auswerten, habe aber im Forum noch nicht das richtige gefunden.

Ich habe 3 Spalten A, B, C.

Die Werte können in den Spalten entweder "", "1", "2" oder "3" sein.

Ich möchte zählen, wie oft es folgenden Fall gibt:

Spalte A mit Wert="1" und gleichzeitig Spalte B="" oder "3" und gleichzeitig Spalte C ="" oder "3".

Kann mir jemand helfen? Ich kriegs einfach nicht raus...

1 Reply

  • PReagan's avatar
    PReagan
    Bronze Contributor

    Hello ratlos2019,

     

    I hope this translates correctly from English. Assuming you have values in the range A1:C10, the formula in E1 could be:

    =COUNTIFS(A1:A10,1,B1:B10,3,C1:C10,3)+COUNTIFS(A1:A10,1,B1:B10,"",C1:C10,3)+COUNTIFS(A1:A10,1,B1:B10,3,C1:C10,"")+COUNTIFS(A1:A10,1,B1:B10,"",C1:C10,"")

     

    You may adjust your range accordingly.

     

    Edit: My apologies, I misunderstood your restrictions. I have updated the formula in red.