SOLVED

Count people who contributed two yrs in a row

Copper Contributor

Hello, I need to count the number of people who donated two years in a row. In the following example, only 1 donor would qualify (donor 1001). I tried the following but it does not work:

 

=COUNTIFS(A1:C7,B2:B7<>"",A1:C7,C2:C7<>"")

 

I guess this is an array formula

Thanks.

Elva_Tanguerre_0-1615816716995.png

 

 

2 Replies
best response confirmed by Elva_Tanguerre (Copper Contributor)
Solution
Close!
=COUNTIFS(B2:B7,"<>",C2:C7,"<>")
Hi, thanks! It works, with a tweak to exclude 0 $ amounts (the "-" in my table)

=COUNTIFS(B2:B7,">0",C2:C7,">0")
1 best response

Accepted Solutions
best response confirmed by Elva_Tanguerre (Copper Contributor)
Solution
Close!
=COUNTIFS(B2:B7,"<>",C2:C7,"<>")

View solution in original post