Originally Posted by xld NOTs in SUMPRODUCT and other array formulas can be quite tricky. Paul is right, the <> version that you are using is comparing each of the constant values against each of the cell values, so many are being counted multiple times. Thanks. I see that now. Originally Posted by xld In full, to get your count =SUMPRODUCT(--(MyContacts!$B$1:$B$40<>""),--(ISNA(MATCH(MyContacts!$B$1:$B$40,{"Teacher","NA",1967,1976},0)))) Amazing stuff! Thanks.
=SUMPRODUCT(--(MyContacts!$B$1:$B$40<>""),--(ISNA(MATCH(MyContacts!$B$1:$B$40,{"Teacher","NA",1967,1976},0))))
Last edited by Aussiebear; 04-05-2025 at 03:46 PM.
Forum Rules